Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation warning (#3123)

master
Matt Jankowski 8 years ago committed by Eugen Rochko
parent f18a6c2cf2
commit d2542dcec0
  1. 2
      app/views/layouts/embedded.html.haml

@ -2,7 +2,7 @@
%html{ lang: I18n.locale } %html{ lang: I18n.locale }
%head %head
%meta{ charset: 'utf-8' }/ %meta{ charset: 'utf-8' }/
= stylesheet_link_tag 'application', media: 'all' = stylesheet_pack_tag 'application', media: 'all'
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous' = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
%body.embed %body.embed
= yield = yield

Loading…
Cancel
Save