Module: EngineyardThemeHelper
- Defined in:
- app/helpers/engineyard_theme_helper.rb
Instance Method Summary collapse
Instance Method Details
#footer(*args, &block) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'app/helpers/engineyard_theme_helper.rb', line 13 def (*args,&block) = block_given? ? capture(&block) : '' = args[0] || 'true' add_js = args[1] || 'true' render :partial => 'engineyard-theme/footer', :locals => { :additional_footer => , :add_navigation => , :add_js => add_js } end |
#header(*args, &block) ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/engineyard_theme_helper.rb', line 2 def header(*args,&block) = args[0] || 'true' add_js = args[1] || 'true' additional_header = block_given? ? capture(&block) : '' render :partial => 'engineyard-theme/header', :locals => { :additional_header => additional_header, :add_navigation => , :add_js => add_js } end |