summaryrefslogtreecommitdiffstats
path: root/app/controllers/boards_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-01 12:03:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-01 12:03:48 +0000
commit47f5713b1e1cbe636582fd3f59fadc10dd8491a1 (patch)
tree1445d5a47586270596067bbbf53ff409f6078758 /app/controllers/boards_controller.rb
parent56bdcf407f898067d5bef188e5df5ad273000e5c (diff)
downloadredmine-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/boards_controller.rb')
-rw-r--r--app/controllers/boards_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb
index 55a9737f5..838e63a7c 100644
--- a/app/controllers/boards_controller.rb
+++ b/app/controllers/boards_controller.rb
@@ -62,12 +62,6 @@ class BoardsController < ApplicationController
def edit
if request.post? && @board.update_attributes(params[:board])
- case params[:position]
- when 'highest'; @board.move_to_top
- when 'higher'; @board.move_higher
- when 'lower'; @board.move_lower
- when 'lowest'; @board.move_to_bottom
- end if params[:position]
redirect_to :controller => 'projects', :action => 'settings', :id => @project, :tab => 'boards'
end
end