Module: ApplicationHelper
- Included in:
- ApplicationController
- Defined in:
- app/helpers/application_helper.rb
Overview
Methods added to this helper will be available to all templates in the application.
Instance Method Summary collapse
Instance Method Details
#footer_menu ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'app/helpers/application_helper.rb', line 11 def return [ ['Board',{:action => 'index', :controller => 'board'}], ['Functional Sets',{:action => 'index', :controller => 'functional_sets'}], ['Card Types',{:action => 'index', :controller => 'card_types'}], ['Card Sizes',{:action => 'index', :controller => 'card_sizes'}], ['Priorities',{:action => 'index', :controller => 'priorities'}], ['Milestones',{:action => 'index', :controller => 'milestones'}], ] end |
#home_page ⇒ Object
7 8 9 |
# File 'app/helpers/application_helper.rb', line 7 def home_page return {:controller => 'board', :action => 'index'} end |
#page_title ⇒ Object
3 4 5 |
# File 'app/helpers/application_helper.rb', line 3 def page_title return action_name() end |