Change the default route to the login page
authorIra W. Snyder <devel@irasnyder.com>
Mon, 26 Nov 2007 02:45:17 +0000 (18:45 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Mon, 26 Nov 2007 02:45:17 +0000 (18:45 -0800)
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
config/routes.rb

index ddbc98a..293dfb2 100644 (file)
@@ -11,7 +11,7 @@ ActionController::Routing::Routes.draw do |map|
 
   # You can have the root of your site routed by hooking up '' 
   # -- just remember to delete public/index.html.
-  map.connect '', :controller => "login"
+  map.connect '', :controller => 'login', :action => 'login'
 
   # Allow downloading Web Service WSDL as a file with an extension
   # instead of a file named 'wsdl'