summaryrefslogtreecommitdiffstats
path: root/app/models/board.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-18 17:51:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-18 17:51:10 +0000
commitfb6b565a1ec968a0f7f9f261ec1d6a328d891209 (patch)
treefb8d9d959c16bc77be493269408d7c50191f21ca /app/models/board.rb
parent42b5c332b2c24c8dcc2581e0cd130ef930959d99 (diff)
downloadredmine-fb6b565a1ec968a0f7f9f261ec1d6a328d891209.tar.gz
redmine-fb6b565a1ec968a0f7f9f261ec1d6a328d891209.zip
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
Diffstat (limited to 'app/models/board.rb')
-rw-r--r--app/models/board.rb2
1 files changed, 1 insertions, 1 deletions
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)