Commit eca1d8603bd6139f1d9b38629c848ca382961089
1 parent
61044cca
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix merge
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/helpers/layout_helper.rb
@@ -2,6 +2,7 @@ module LayoutHelper | @@ -2,6 +2,7 @@ module LayoutHelper | ||
2 | 2 | ||
3 | def body_classes | 3 | def body_classes |
4 | # Identify the current controller and action for the CSS: | 4 | # Identify the current controller and action for the CSS: |
5 | + (logged_in? ? " logged-in" : "") + | ||
5 | " controller-#{controller.controller_name}" + | 6 | " controller-#{controller.controller_name}" + |
6 | " action-#{controller.controller_name}-#{controller.action_name}" + | 7 | " action-#{controller.controller_name}-#{controller.action_name}" + |
7 | " template-#{@layout_template || if profile.blank? then 'default' else profile.layout_template end}" + | 8 | " template-#{@layout_template || if profile.blank? then 'default' else profile.layout_template end}" + |