Sha256: 5c13f78145ada08ef84f4662d427d83863557d8bbe3deada5325e2a35d3c3a91
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
module Humpyard module PagesHelper def page_body(options={}, &block) render :partial => '/humpyard/common/page_construct', :locals => {:options => options, :block => block} end def title(page_title) @content_for_title = page_title.to_s end def stylesheet(*args) content_for(:head) { stylesheet_link_tag(*args) } end def javascript(*args) content_for(:head) { javascript_include_tag(*args) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
humpyard-0.0.1 | app/helpers/humpyard/pages_helper.rb |