Class: MinimumViableProduct::StyleguideController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- MinimumViableProduct::StyleguideController
- Defined in:
- app/controllers/mvp/styleguide_controller.rb
Constant Summary
Constants included from SessionConcern
MinimumViableProduct::SessionConcern::COOKIE_ID
Constants included from AnalyticsConcern
AnalyticsConcern::INVISIBLE_SESSION_COOKIE
Instance Method Summary collapse
Methods included from SessionConcern
#current_user, #redirect_back_or_default, #sign_in, #store_location
Methods included from AnalyticsConcern
Instance Method Details
#layout_basic ⇒ Object
5 6 7 |
# File 'app/controllers/mvp/styleguide_controller.rb', line 5 def layout_basic render template: 'styleguide/layouts/basic', layout: 'basic' end |
#layout_carousel ⇒ Object
13 14 15 |
# File 'app/controllers/mvp/styleguide_controller.rb', line 13 def layout_carousel render template: 'styleguide/layouts/carousel', layout: 'carousel' end |
#layout_cover ⇒ Object
9 10 11 |
# File 'app/controllers/mvp/styleguide_controller.rb', line 9 def layout_cover render template: 'styleguide/layouts/cover', layout: 'cover' end |