Module: Lato::Layoutable
- Extended by:
- ActiveSupport::Concern
- Included in:
- ApplicationController
- Defined in:
- app/controllers/concerns/lato/layoutable.rb
Instance Method Summary collapse
- #active_navbar(key) ⇒ Object
- #active_sidebar(key) ⇒ Object
- #hide_sidebar ⇒ Object
- #show_sidebar ⇒ Object
Instance Method Details
#active_navbar(key) ⇒ Object
23 24 25 |
# File 'app/controllers/concerns/lato/layoutable.rb', line 23 def (key) @navbar_key = key end |
#active_sidebar(key) ⇒ Object
19 20 21 |
# File 'app/controllers/concerns/lato/layoutable.rb', line 19 def (key) @sidebar_key = key end |
#hide_sidebar ⇒ Object
15 16 17 |
# File 'app/controllers/concerns/lato/layoutable.rb', line 15 def @layout_sidebar = false end |
#show_sidebar ⇒ Object
11 12 13 |
# File 'app/controllers/concerns/lato/layoutable.rb', line 11 def @layout_sidebar = true end |