module Humpyard::PagesHelper

Public Instance Methods

javascript(*args) click to toggle source
# File app/helpers/humpyard/pages_helper.rb, line 15
def javascript(*args)
  content_for(:head) { javascript_include_tag(*args) }
end
page_body(options={}, &block) click to toggle source
# File app/helpers/humpyard/pages_helper.rb, line 3
def page_body(options={}, &block)
  render :partial => '/humpyard/common/page_construct', :locals => {:options => options, :block => block}
end
stylesheet(*args) click to toggle source
# File app/helpers/humpyard/pages_helper.rb, line 11
def stylesheet(*args)
  content_for(:head) { stylesheet_link_tag(*args) }
end
title(page_title) click to toggle source
# File app/helpers/humpyard/pages_helper.rb, line 7
def title(page_title)
  @content_for_title = page_title.to_s
end