Sha256: bd5e1b32136ec8e6cd8ec322a6e87273b9fc42194b017f7edd8668c033da1211
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
module Admin::PageHelper def render_node(page, locals = {}) locals.reverse_merge!( :level => 0, :expand => 3, :simple => false ).merge!( :page => page ) render :partial => 'node', :locals => locals end def meta_errors? !!(@page.errors[:slug] or @page.errors[:breadcrumb]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-0.5.0 | app/helpers/admin/page_helper.rb |