Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes issues in production

  • Loading branch information...
commit f62878e9c00a4b752bbcab4bc392f80ec5f01e78 1 parent 18a1c07
@glebm glebm authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/overrides/premailer/premailer.rb
View
2  lib/overrides/premailer/premailer.rb
@@ -12,7 +12,7 @@ def load_css_from_local_file_with_rails_path!(path)
if File.exist?(rails_path)
load_css_from_string(File.read(rails_path))
elsif (asset = Rails.application.assets.find_asset(clean_path.sub("#{Rails.configuration.assets.prefix}/", '')))
- load_css_from_string(asset.body)
+ load_css_from_string(asset.to_s)
else
load_css_from_local_file_without_rails_path!(path)
end

0 comments on commit f62878e

Please sign in to comment.
Something went wrong with that request. Please try again.