Fix theme preview not applying
This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style
This commit is contained in:
parent
9d5d205ded
commit
83cebe4d9b
|
@ -12,12 +12,12 @@
|
|||
%title= yield(:title)
|
||||
= javascript_include_tag 'i18n', 'data-turbolinks-track' => true
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= render_theme
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||
- if user_signed_in?
|
||||
- if current_user.mod?
|
||||
= javascript_include_tag 'moderation', 'data-turbolinks-track' => true
|
||||
= csrf_meta_tags
|
||||
= render_theme
|
||||
%body#version1
|
||||
- if user_signed_in?
|
||||
= render 'navigation/main'
|
||||
|
|
Loading…
Reference in New Issue