mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-15 00:06:10 +08:00
Fix markup
This commit is contained in:
parent
f8c6d9f260
commit
c73998b6bf
1 changed files with 1 additions and 3 deletions
|
@ -117,10 +117,8 @@ module ReportsHelper
|
||||||
|
|
||||||
def font_awesome_report_pack_tag
|
def font_awesome_report_pack_tag
|
||||||
if running_in_development?
|
if running_in_development?
|
||||||
options = { media: 'all' }
|
|
||||||
wds = Webpacker.dev_server
|
wds = Webpacker.dev_server
|
||||||
options[:host] = "#{wds.host}:#{wds.port}"
|
stylesheet_pack_tag('fontawesome', media: 'all', host: "#{wds.host}:#{wds.port}")
|
||||||
stylesheet_pack_tag('fontawesome', options)
|
|
||||||
else
|
else
|
||||||
wicked_pdf_stylesheet_pack_tag 'fontawesome'
|
wicked_pdf_stylesheet_pack_tag 'fontawesome'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue