diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-01 12:03:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-01 12:03:48 +0000 |
commit | 47f5713b1e1cbe636582fd3f59fadc10dd8491a1 (patch) | |
tree | 1445d5a47586270596067bbbf53ff409f6078758 /app/controllers/roles_controller.rb | |
parent | 56bdcf407f898067d5bef188e5df5ad273000e5c (diff) | |
download | redmine-47f5713b1e1cbe636582fd3f59fadc10dd8491a1.tar.gz redmine-47f5713b1e1cbe636582fd3f59fadc10dd8491a1.zip |
Reorder links refactoring (follows r2526).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2546 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/roles_controller.rb')
-rw-r--r-- | app/controllers/roles_controller.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index ab70ebf41..6185d70ef 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -64,21 +64,6 @@ class RolesController < ApplicationController redirect_to :action => 'index' end - def move - @role = Role.find(params[:id]) - case params[:position] - when 'highest' - @role.move_to_top - when 'higher' - @role.move_higher - when 'lower' - @role.move_lower - when 'lowest' - @role.move_to_bottom - end if params[:position] - redirect_to :action => 'list' - end - def report @roles = Role.find(:all, :order => 'builtin, position') @permissions = Redmine::AccessControl.permissions.select { |p| !p.public? } |