summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-28 15:28:50 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-28 15:28:50 +0000
commit3a3263102a7cda4be1c90168a9d32fa904d58272 (patch)
treebcd4ec938b2109caba6238d9bdc426c9ae335f5f /config
parent79e30e7087d714ad81de83d389c37ae7d46d4dad (diff)
downloadredmine-3a3263102a7cda4be1c90168a9d32fa904d58272.tar.gz
redmine-3a3263102a7cda4be1c90168a9d32fa904d58272.zip
Refactor: split UsersController#add into #add and #create
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4215 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index eab2157d8..0e60c555f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -148,7 +148,7 @@ ActionController::Routing::Routes.draw do |map|
end
users.with_options :conditions => {:method => :post} do |user_actions|
user_actions.connect 'users', :action => 'add'
- user_actions.connect 'users/new', :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'
user_actions.connect 'users/:id/memberships/:membership_id', :action => 'edit_membership'