Class: Kayessess::SectionsController

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

#exampleObject



15
16
17
# File 'app/controllers/kayessess/sections_controller.rb', line 15

def example
  render layout: 'kayessess/example'
end

#indexObject



8
9
10
# File 'app/controllers/kayessess/sections_controller.rb', line 8

def index
  @tree_root = @styleguide.tree.root
end

#showObject



12
13
# File 'app/controllers/kayessess/sections_controller.rb', line 12

def show;
end