Class: ModulesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/modules_controller.rb

Instance Method Summary collapse

Instance Method Details

#alertsObject



8
9
10
11
# File 'app/controllers/modules_controller.rb', line 8

def alerts
  @page_title = "Alerts <small>Module</small>"
  @page_nav = modules_nav
end


13
14
# File 'app/controllers/modules_controller.rb', line 13

def footer
end

#indexObject



2
3
4
5
6
# File 'app/controllers/modules_controller.rb', line 2

def index
  @page_title = "Modules"
  @page_description = "On top of the grid and the base styles, a site is built up of modules of functionality. The modules within the style guide are common and reusable and should not be overly content specific."
  @page_nav = modules_nav
end


16
17
18
19
# File 'app/controllers/modules_controller.rb', line 16

def nav
  @page_title = "Alerts <small>Module</small>"
  @page_nav = modules_nav
end

#panelsObject



21
22
23
24
25
# File 'app/controllers/modules_controller.rb', line 21

def panels
  @page_title = "Panel <small>Module</small>"
  @page_description = "Without doubt, the least exciting module we have."
  @page_nav = modules_nav
end

#tabsObject



27
28
29
30
# File 'app/controllers/modules_controller.rb', line 27

def tabs
  @page_title = "Tabs <small>Module</small>"
  @page_nav = modules_nav
end