]> cat aescling's git repositories - mastodon.git/commitdiff
Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation warning ...
authorMatt Jankowski <mjankowski@thoughtbot.com>
Fri, 19 May 2017 01:11:17 +0000 (21:11 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 19 May 2017 01:11:17 +0000 (03:11 +0200)
app/views/layouts/embedded.html.haml

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