diff options
author | Gô Shoemake <marrus-sh@users.noreply.github.com> | 2017-07-30 10:28:21 -0700 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-30 19:28:21 +0200 |
commit | b61e3daf983d87c6d2de7e54d420c2e8f5a531e6 (patch) | |
tree | 97836a37b38cc664862f9a6ebda311e3410df09c /app/views/home | |
parent | 6ff084dbbb06e5c2f131546829066435f2bf8f8a (diff) |
Multiple frontend support (#110)
* Initial multiple frontend support * Removed unnecessary require() * Moved styles/images out of common
Diffstat (limited to 'app/views/home')
-rw-r--r-- | app/views/home/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 1ed5c1ae0..ec6e53461 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -2,8 +2,8 @@ %meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key} %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json) - = javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous' - = stylesheet_pack_tag 'application', media: 'all' + = javascript_pack_tag "frontends/#{@frontend}", integrity: true, crossorigin: 'anonymous' + = stylesheet_pack_tag "frontends/#{@frontend}", integrity: true, media: 'all' .app-holder#mastodon{ data: { props: Oj.dump(default_props) } } %noscript |