Class: Kayessess::SectionsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Kayessess::SectionsController
- Defined in:
- app/controllers/kayessess/sections_controller.rb
Overview
The SectionsController is responsible for providing actions for listing and showing sections of the styleguide
Instance Method Summary collapse
Instance Method Details
#example ⇒ Object
15 16 17 |
# File 'app/controllers/kayessess/sections_controller.rb', line 15 def example render layout: 'kayessess/example' end |
#index ⇒ Object
8 9 10 |
# File 'app/controllers/kayessess/sections_controller.rb', line 8 def index @tree_root = @styleguide.tree.root end |
#show ⇒ Object
12 13 |
# File 'app/controllers/kayessess/sections_controller.rb', line 12 def show; end |