mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 20:48:23 +08:00
Fix WickedPdf bug on production
This commit is contained in:
parent
f55861b373
commit
e9ef7b61ef
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ WickedPdf.config ||= {}
|
||||||
# it is not acceptable to enable it.
|
# it is not acceptable to enable it.
|
||||||
if Rails.env.production? and Rails.configuration.assets.compile == false
|
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)
|
def read_asset(source)
|
||||||
manifest = Rails.application.assets_manifest
|
manifest = Rails.application.assets_manifest
|
||||||
|
|
Loading…
Reference in a new issue