]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up app/controllers/application_controller.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 06:32:28 +0000 (06:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 06:32:28 +0000 (06:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19284 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index 62232ea06a8c8bd09aa0b4c7ed11d60033c90f49..ea579bfa8cbd19641429486cfd464bfafdefe0b6 100644 (file)
@@ -352,7 +352,9 @@ class ApplicationController < ActionController::Base
   def find_issues
     @issues = Issue.
       where(:id => (params[:id] || params[:ids])).
-      preload(:project, :status, :tracker, :priority, :author, :assigned_to, :relations_to, {:custom_values => :custom_field}).
+      preload(:project, :status, :tracker, :priority,
+              :author, :assigned_to, :relations_to,
+              {:custom_values => :custom_field}).
       to_a
     raise ActiveRecord::RecordNotFound if @issues.empty?
     raise Unauthorized unless @issues.all?(&:visible?)