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/custom_fields_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/custom_fields_controller.rb')
-rw-r--r-- | app/controllers/custom_fields_controller.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 5a79e4b7b..73ae8096a 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -47,21 +47,6 @@ class CustomFieldsController < ApplicationController end @trackers = Tracker.find(:all, :order => 'position') end - - def move - @custom_field = CustomField.find(params[:id]) - case params[:position] - when 'highest' - @custom_field.move_to_top - when 'higher' - @custom_field.move_higher - when 'lower' - @custom_field.move_lower - when 'lowest' - @custom_field.move_to_bottom - end if params[:position] - redirect_to :action => 'index', :tab => @custom_field.class.name - end def destroy @custom_field = CustomField.find(params[:id]).destroy |