summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-30 18:22:46 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-30 18:22:46 +0000
commit86ba692bf5312b37b6e30778d14daf0a675254bb (patch)
tree6e1f42db58dc520e33c1e464c88840d627b3772f /config
parentd06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (diff)
downloadredmine-86ba692bf5312b37b6e30778d14daf0a675254bb.tar.gz
redmine-86ba692bf5312b37b6e30778d14daf0a675254bb.zip
Refactor: split UsersController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4230 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 d9c22d6cc..a15f06a07 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -148,11 +148,11 @@ ActionController::Routing::Routes.draw do |map|
end
users.with_options :conditions => {:method => :post} do |user_actions|
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'
user_actions.connect 'users/:id/memberships/:membership_id/destroy', :action => 'destroy_membership'
end
+ users.connect 'users/:id/edit', :action => 'update', :conditions => {:method => :put}
end
# For nice "roadmap" in the url for the index action