Class: MinimumViableProduct::StyleguideController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- MinimumViableProduct::StyleguideController
- Defined in:
- app/controllers/minimum_viable_product/styleguide_controller.rb
Instance Method Summary collapse
- #bootstrap ⇒ Object
- #index ⇒ Object
- #layout_basic ⇒ Object
- #layout_carousel ⇒ Object
- #layout_cover ⇒ Object
Instance Method Details
#bootstrap ⇒ Object
7 8 9 |
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 7 def bootstrap render layout: 'minimum_viable_product/basic' end |
#index ⇒ Object
3 4 5 |
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 3 def index render layout: 'minimum_viable_product/basic' end |
#layout_basic ⇒ Object
11 12 13 |
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 11 def layout_basic render template: 'minimum_viable_product/styleguide/layouts/basic', layout: 'minimum_viable_product/basic' end |
#layout_carousel ⇒ Object
19 20 21 |
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 19 def layout_carousel render template: 'minimum_viable_product/styleguide/layouts/carousel', layout: 'minimum_viable_product/carousel' end |
#layout_cover ⇒ Object
15 16 17 |
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 15 def layout_cover render template: 'minimum_viable_product/styleguide/layouts/cover', layout: 'minimum_viable_product/cover' end |