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

rebase/4.0.0rc2
Matt Jankowski 2017-05-18 21:11:17 -04:00 committed by Eugen Rochko
parent f18a6c2cf2
commit d2542dcec0
1 changed files with 1 additions and 1 deletions

View File

@ -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