Fix WickedPdf bug on production

This commit is contained in:
Luka Murn 2017-07-07 13:05:18 +02:00
parent f55861b373
commit e9ef7b61ef

View file

@ -6,7 +6,7 @@ WickedPdf.config ||= {}
# it is not acceptable to enable it.
if Rails.env.production? and Rails.configuration.assets.compile == false
WickedPdfHelper::Assets.module_eval do
WicketPdf::WickedPdfHelper::Assets.module_eval do
def read_asset(source)
manifest = Rails.application.assets_manifest