about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-05 17:08:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-05 10:08:31 +0200
commit4addf051d42393c9f933db2ecf210b151d901192 (patch)
tree86a3056f6a88c0092606cb6d0b7cb1a0e8181057 /app/views/layouts
parentab914ce6d5a681cf28486c663f01d0c481911c41 (diff)
Fix broken embed page (#3577)
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/embedded.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/embedded.html.haml b/app/views/layouts/embedded.html.haml
index c7a3374bc..5680c1ff9 100644
--- a/app/views/layouts/embedded.html.haml
+++ b/app/views/layouts/embedded.html.haml
@@ -3,6 +3,8 @@
   %head
     %meta{ charset: 'utf-8' }/
     = stylesheet_pack_tag 'application', media: 'all'
+    = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
+    = javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
     = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
   %body.embed
     = yield