summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-23 18:35:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-23 18:35:11 +0000
commit7f4e3771d8dced2c3d9151a95fbf8f8d899daa7b (patch)
tree1ddb646f9b407e7c75f92ee9e74d6af5301a9ef1 /app/controllers/issues_controller.rb
parent22317105f99ef444dc6262c041bc464adc845933 (diff)
downloadredmine-7f4e3771d8dced2c3d9151a95fbf8f8d899daa7b.tar.gz
redmine-7f4e3771d8dced2c3d9151a95fbf8f8d899daa7b.zip
Allows bulk change issue private flag (#10042).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index e3e6ffedc..9a64ba062 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -228,6 +228,7 @@ class IssuesController < ApplicationController
@assignables = target_projects.map(&:assignable_users).inject{|memo,a| memo & a}
@trackers = target_projects.map(&:trackers).inject{|memo,t| memo & t}
+ @safe_attributes = @issues.map(&:safe_attribute_names).inject {|memo,attrs| memo & attrs}
render :layout => false if request.xhr?
end