Removed a route for login witrhout a web name (login needs a web name to work)

This commit is contained in:
Alexey Verkhovsky 2005-03-25 17:53:40 +00:00
parent aab6c4e32a
commit 0a63789e61

View file

@ -8,7 +8,6 @@ ActionController::Routing.draw do |map|
map.connect ':web/pic/:id', :controller => 'file', :action => 'pic' map.connect ':web/pic/:id', :controller => 'file', :action => 'pic'
map.connect ':web/import/:id', :controller => 'file', :action => 'import' map.connect ':web/import/:id', :controller => 'file', :action => 'import'
map.connect 'login', :controller => 'wiki', :action => 'login'
map.connect ':web/login', :controller => 'wiki', :action => 'login' map.connect ':web/login', :controller => 'wiki', :action => 'login'
map.connect 'web_list', :controller => 'wiki', :action => 'web_list' map.connect 'web_list', :controller => 'wiki', :action => 'web_list'
map.connect ':web/web_list', :controller => 'wiki', :action => 'web_list' map.connect ':web/web_list', :controller => 'wiki', :action => 'web_list'