From: Toshi MARUYAMA Date: Fri, 22 Nov 2019 04:24:42 +0000 (+0000) Subject: code layout clean up IssuesController#index X-Git-Tag: 4.2.0~1491 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=32dd182e25d369383e1e45fca8108a3717a159de;p=redmine.git code layout clean up IssuesController#index git-svn-id: http://svn.redmine.org/redmine/trunk@19148 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 9f993199a..cd953182e 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -62,11 +62,13 @@ class IssuesController < ApplicationController } format.atom { @issues = @query.issues(:limit => Setting.feeds_limit.to_i) - render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") + render_feed(@issues, + :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") } format.csv { @issues = @query.issues(:limit => Setting.issues_export_limit.to_i) - send_data(query_to_csv(@issues, @query, params[:csv]), :type => 'text/csv; header=present', :filename => 'issues.csv') + send_data(query_to_csv(@issues, @query, params[:csv]), + :type => 'text/csv; header=present', :filename => 'issues.csv') } format.pdf { @issues = @query.issues(:limit => Setting.issues_export_limit.to_i)