summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 11:10:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 11:10:10 +0000
commitaca59db4cc5a68098b2e60251d20583ac73c8164 (patch)
treeff8b0df58b40788ed3dfaaed046fcf9588f723da /app/controllers/issues_controller.rb
parent797a9f1ea945c891b5974881d0b3d6b5c4f56125 (diff)
downloadredmine-aca59db4cc5a68098b2e60251d20583ac73c8164.tar.gz
redmine-aca59db4cc5a68098b2e60251d20583ac73c8164.zip
Rename issues CSV and PDF exports.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11449 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 314460c6f..fb1c5765f 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -85,8 +85,8 @@ class IssuesController < ApplicationController
Issue.load_visible_relations(@issues) if include_in_api_response?('relations')
}
format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") }
- format.csv { send_data(query_to_csv(@issues, @query, params), :type => 'text/csv; header=present', :filename => 'export.csv') }
- format.pdf { send_data(issues_to_pdf(@issues, @project, @query), :type => 'application/pdf', :filename => 'export.pdf') }
+ format.csv { send_data(query_to_csv(@issues, @query, params), :type => 'text/csv; header=present', :filename => 'issues.csv') }
+ format.pdf { send_data(issues_to_pdf(@issues, @project, @query), :type => 'application/pdf', :filename => 'issues.pdf') }
end
else
respond_to do |format|