]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up IssuesController#bulk_edit
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 22 Nov 2019 04:25:14 +0000 (04:25 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 22 Nov 2019 04:25:14 +0000 (04:25 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19151 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index eabd5f2e639bd3e7deeeda212099a1cb343fedad..1c3d8cec2ae069e1a13b8a59a28548ff2608e420 100644 (file)
@@ -299,8 +299,9 @@ class IssuesController < ApplicationController
       end
     end
     @values_by_custom_field.delete_if {|k,v| v.blank?}
-
-    @custom_fields = edited_issues.map{|i| i.editable_custom_fields}.reduce(:&).select {|field| field.format.bulk_edit_supported}
+    @custom_fields =
+      edited_issues.map{|i| i.editable_custom_fields}.
+        reduce(:&).select {|field| field.format.bulk_edit_supported}
     @assignables = target_projects.map(&:assignable_users).reduce(:&)
     @versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&)
     @categories = target_projects.map {|p| p.issue_categories}.reduce(:&)