From 4addf051d42393c9f933db2ecf210b151d901192 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Mon, 5 Jun 2017 17:08:31 +0900 Subject: [PATCH] Fix broken embed page (#3577) --- app/views/layouts/embedded.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/layouts/embedded.html.haml b/app/views/layouts/embedded.html.haml index c7a3374bc0..5680c1ff92 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