Class: ModulesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ModulesController
- Defined in:
- app/controllers/modules_controller.rb
Instance Method Summary collapse
Instance Method Details
#alerts ⇒ Object
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 |
#footer ⇒ Object
13 14 |
# File 'app/controllers/modules_controller.rb', line 13 def end |
#index ⇒ Object
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 |
#nav ⇒ Object
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 |
#panels ⇒ Object
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 |
#tabs ⇒ Object
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 |