Class: MinimumViableProduct::StyleguideController

Inherits:
ApplicationController show all
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

#page!, #slack!, #track!

Instance Method Details

#layout_basicObject



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

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


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

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

#layout_coverObject



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

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