summaryrefslogtreecommitdiffstats
path: root/app/helpers/users_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-01 11:25:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-01 11:25:41 +0000
commit9fd14713c59f756db8357578bc3c64a94d7c6221 (patch)
tree8f0daee55796cfd45fb69bdd5a3c543d36c97419 /app/helpers/users_helper.rb
parentd984422a1fc6d68d88161e7f0d35d3d5b9277fe9 (diff)
downloadredmine-9fd14713c59f756db8357578bc3c64a94d7c6221.tar.gz
redmine-9fd14713c59f756db8357578bc3c64a94d7c6221.zip
Fixes user edit urls (#3281).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2698 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/users_helper.rb')
-rw-r--r--app/helpers/users_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index b9e990d6e..5b8ecaf8c 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -34,7 +34,7 @@ module UsersHelper
end
def change_status_link(user)
- url = {:action => 'edit', :id => user, :page => params[:page], :status => params[:status]}
+ url = {:controller => 'users', :action => 'edit', :id => user, :page => params[:page], :status => params[:status], :tab => nil}
if user.locked?
link_to l(:button_unlock), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :post, :class => 'icon icon-unlock'