PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6121 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-06-22 23:41:54 +00:00
parent e5dfd24aa5
commit fa86ef3542
1 changed files with 2 additions and 2 deletions

View File

@ -82,10 +82,10 @@ class TCPDF
@@k_small_ratio = 2/3.0
cattr_accessor :k_path_cache
@@k_path_cache = File.join(RAILS_ROOT, 'tmp')
@@k_path_cache = Rails.root.join('tmp')
cattr_accessor :k_path_url_cache
@@k_path_url_cache = File.join(RAILS_ROOT, 'tmp')
@@k_path_url_cache = Rails.root.join('tmp')
cattr_accessor :decoder