Commit d5825795e5b47e1f21a34251ef4bbf6c2a23ffce

Authored by Karpikau Andrei
1 parent ce2f08c5

change version, check pdf include css file

... ... @@ -205,7 +205,7 @@ module Kanjai
205 205 file = File.open("#{Rails.root}/pdf.css", "r")
206 206 contents = file.read
207 207
208   - css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}/pdf.css"
  208 + css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}/public/pdf.css"
209 209 layer.gsub!(/<\/head>/, '<style>'+ contents +'</style></head>')
210 210 #layer.gsub!(/<meta charset/, '<link rel="stylesheet" href="'+ css_path +'"><meta charset')
211 211 #end
... ...
1 1 module Kanjai
2   - VERSION = "0.0.101"
  2 + VERSION = "0.0.102"
3 3 end
... ...