summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 11:07:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 11:07:43 +0000
commit797a9f1ea945c891b5974881d0b3d6b5c4f56125 (patch)
treef0ed773e17d6b1d5a0619ab7f5ac06078e30f9a7 /app/controllers/timelog_controller.rb
parent9b1ebd6808d260a95eff38c2a93ec2c1b7ed8183 (diff)
downloadredmine-797a9f1ea945c891b5974881d0b3d6b5c4f56125.tar.gz
redmine-797a9f1ea945c891b5974881d0b3d6b5c4f56125.zip
Refactor: #issues_to_csv and #entries_to_csv merged into QueriesHelper#query_to_csv.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11448 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r--app/controllers/timelog_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb
index e90442c68..92210fff5 100644
--- a/app/controllers/timelog_controller.rb
+++ b/app/controllers/timelog_controller.rb
@@ -87,7 +87,7 @@ class TimelogController < ApplicationController
:include => [:project, :activity, :user, {:issue => [:tracker, :assigned_to, :priority]}],
:order => sort_clause
)
- send_data(entries_to_csv(@entries, @query, params), :type => 'text/csv; header=present', :filename => 'timelog.csv')
+ send_data(query_to_csv(@entries, @query, params), :type => 'text/csv; header=present', :filename => 'timelog.csv')
}
end
end