Sha256: 5b4b30d5b24d69e9b785fb7ca024fa43ca8960a0ad2dd6168a52452bf7464fa1
Contents?: true
Size: 412 Bytes
Versions: 13
Compression:
Stored size: 412 Bytes
Contents
module QuicCms module LayoutHelper def title(page_title, show_title = true) content_for(:title) { h(page_title.to_s) } @show_title = show_title end def show_title? @show_title 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
13 entries across 13 versions & 1 rubygems