Sha256: a6aac726c03618245fd625bd05995b64bc7001e01744ae5c8b22b25b143d064f
Contents?: true
Size: 724 Bytes
Versions: 20
Compression:
Stored size: 724 Bytes
Contents
module EngineyardThemeHelper def header(*args,&block) add_navigation = 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_navigation, :add_js => add_js } end def footer(*args,&block) additional_footer = block_given? ? capture(&block) : '' add_navigation = args[0] || 'true' add_js = args[1] || 'true' render :partial => 'engineyard-theme/footer', :locals => { :additional_footer => additional_footer, :add_navigation => add_navigation, :add_js => add_js } end end
Version data entries
20 entries across 20 versions & 1 rubygems