From: Steve Coast Date: Sat, 7 Apr 2007 21:45:37 +0000 (+0000) Subject: user creation broken with all the routes... fixed X-Git-Tag: live~8549 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/92faa7f93e828882c0b813352ef0a11badcd4ea8?ds=inline user creation broken with all the routes... fixed --- diff --git a/config/routes.rb b/config/routes.rb index ff42dbfa4..ec32b5188 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -28,6 +28,7 @@ ActionController::Routing::Routes.draw do |map| # web site map.connect '/', :controller => 'site', :action => 'index' + map.connect '/user/save', :controller => 'user', :action => 'save' map.connect '/index.html', :controller => 'site', :action => 'index' map.connect '/edit.html', :controller => 'site', :action => 'edit' map.connect '/search.html', :controller => 'way_tag', :action => 'search' @@ -53,7 +54,6 @@ ActionController::Routing::Routes.draw do |map| map.connect '/traces/tag/:tag/page/:page', :controller => 'trace', :action => 'list', :id => nil # user pages - map.connect '/user/:display_name', :controller => 'user', :action => 'view' map.connect '/user/:display_name/diary', :controller => 'user', :action => 'diary' map.connect '/user/:display_name/diary/newpost', :controller => 'diary_entry', :action => 'new'