diff --git a/app/helpers/layout_helper.rb b/app/helpers/layout_helper.rb index 0890b39..8a15364 100644 --- a/app/helpers/layout_helper.rb +++ b/app/helpers/layout_helper.rb @@ -2,6 +2,7 @@ module LayoutHelper def body_classes # Identify the current controller and action for the CSS: + (logged_in? ? " logged-in" : "") + " controller-#{controller.controller_name}" + " action-#{controller.controller_name}-#{controller.action_name}" + " template-#{@layout_template || if profile.blank? then 'default' else profile.layout_template end}" + -- libgit2 0.21.2