From fb6b565a1ec968a0f7f9f261ec1d6a328d891209 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 18 Apr 2016 17:51:10 +0000 Subject: Forum list can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15337 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/board.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/board.rb') diff --git a/app/models/board.rb b/app/models/board.rb index 104c85749..39ad4a59f 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -35,7 +35,7 @@ class Board < ActiveRecord::Base where(Project.allowed_to_condition(args.shift || User.current, :view_messages, *args)) } - safe_attributes 'name', 'description', 'parent_id', 'move_to' + safe_attributes 'name', 'description', 'parent_id', 'position' def visible?(user=User.current) !user.nil? && user.allowed_to?(:view_messages, project) -- cgit v1.2.3