summaryrefslogtreecommitdiffstats
path: root/app/controllers/custom_fields_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/custom_fields_controller.rb')
-rw-r--r--app/controllers/custom_fields_controller.rb15
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