From: Ira W. Snyder Date: Mon, 26 Nov 2007 02:45:17 +0000 (-0800) Subject: Change the default route to the login page X-Git-Tag: turned-in~32 X-Git-Url: https://www.irasnyder.com/gitweb/?a=commitdiff_plain;h=32e35e775c982b99b462c43430fa6701654792a8;p=cs356-p2-videostore.git Change the default route to the login page Signed-off-by: Ira W. Snyder --- diff --git a/config/routes.rb b/config/routes.rb index ddbc98a..293dfb2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'