diff options
author | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 20:14:06 +0000 |
---|---|---|
committer | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 20:14:06 +0000 |
commit | e2851a8b2a66957b76998b7d9f16e411a4a167fe (patch) | |
tree | 4c1ee2dfab24d0c1bdf35e88661c782c69b6cf26 /lib/redmine/export | |
parent | c929ab5c1663374d683b784c92b8cde731f57ae8 (diff) | |
download | redmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.tar.gz redmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.zip |
Use 1.8.7 compatible @Pathname#to_s@ alias for @Pathname#to_path@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/export')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index f6988db79..899411a53 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -36,7 +36,7 @@ module Redmine attr_accessor :footer_date def initialize(lang) - @@k_path_cache = Rails.root.join('tmp', 'pdf').to_path + @@k_path_cache = Rails.root.join('tmp', 'pdf').to_s FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache) set_language_if_valid lang pdf_encoding = l(:general_pdf_encoding).upcase |