summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-29 16:00:45 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-29 16:00:45 +0000
commitd06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (patch)
tree3bf755f3cb143ef68b4d3ec698fed4469ea6fa82 /config
parent4853dd97fd5a39eec56155baba8844adcefa9aa4 (diff)
downloadredmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.tar.gz
redmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.zip
Refactor: rename UsersController#add to #new
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4229 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0e60c555f..d9c22d6cc 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -143,11 +143,10 @@ ActionController::Routing::Routes.draw do |map|
users.with_options :conditions => {:method => :get} do |user_views|
user_views.connect 'users', :action => 'index'
user_views.connect 'users/:id', :action => 'show', :id => /\d+/
- user_views.connect 'users/new', :action => 'add'
+ user_views.connect 'users/new', :action => 'new'
user_views.connect 'users/:id/edit/:tab', :action => 'edit', :tab => nil
end
users.with_options :conditions => {:method => :post} do |user_actions|
- user_actions.connect 'users', :action => 'add'
user_actions.connect 'users/new', :action => 'create'
user_actions.connect 'users/:id/edit', :action => 'edit'
user_actions.connect 'users/:id/memberships', :action => 'edit_membership'