about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorGô Shoemake <marrus-sh@users.noreply.github.com>2017-07-30 10:28:21 -0700
committerOndřej Hruška <ondra@ondrovo.com>2017-07-30 19:28:21 +0200
commitb61e3daf983d87c6d2de7e54d420c2e8f5a531e6 (patch)
tree97836a37b38cc664862f9a6ebda311e3410df09c /app/views/layouts
parent6ff084dbbb06e5c2f131546829066435f2bf8f8a (diff)
Multiple frontend support (#110)
* Initial multiple frontend support

* Removed unnecessary require()

* Moved styles/images out of common
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 82b20810a..399d70bc0 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -32,6 +32,9 @@
     = javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
     = csrf_meta_tags
 
+    - if controller_name != 'home'
+      = stylesheet_pack_tag 'application', integrity: true, media: 'all'
+
     = yield :header_tags
 
   - body_classes ||= @body_classes