##// END OF EJS Templates
PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb....
Toshi MARUYAMA -
r6001:fa86ef35427f
parent child
Show More
@@ -82,10 +82,10 class TCPDF
82 @@k_small_ratio = 2/3.0
82 @@k_small_ratio = 2/3.0
83
83
84 cattr_accessor :k_path_cache
84 cattr_accessor :k_path_cache
85 @@k_path_cache = File.join(RAILS_ROOT, 'tmp')
85 @@k_path_cache = Rails.root.join('tmp')
86
86
87 cattr_accessor :k_path_url_cache
87 cattr_accessor :k_path_url_cache
88 @@k_path_url_cache = File.join(RAILS_ROOT, 'tmp')
88 @@k_path_url_cache = Rails.root.join('tmp')
89
89
90 cattr_accessor :decoder
90 cattr_accessor :decoder
91
91
General Comments 0
You need to be logged in to leave comments. Login now