Class: MinimumViableProduct::StyleguideController

Inherits:
Controller
  • Object
show all
Defined in:
app/controllers/minimum_viable_product/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, #current_user=, #redirect_back_or_default, #store_location

Methods included from AnalyticsConcern

#page!, #slack!, #track!

Instance Method Details

#bootstrapObject



9
10
11
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 9

def bootstrap
  render layout: 'minimum_viable_product/basic'
end

#indexObject



5
6
7
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 5

def index
  render layout: 'minimum_viable_product/basic'
end

#layout_basicObject



13
14
15
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 13

def layout_basic
  render template: 'minimum_viable_product/styleguide/layouts/basic', layout: 'minimum_viable_product/basic'
end


21
22
23
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 21

def layout_carousel
  render template: 'minimum_viable_product/styleguide/layouts/carousel', layout: 'minimum_viable_product/carousel'
end

#layout_coverObject



17
18
19
# File 'app/controllers/minimum_viable_product/styleguide_controller.rb', line 17

def layout_cover
  render template: 'minimum_viable_product/styleguide/layouts/cover', layout: 'minimum_viable_product/cover'
end