Sha256: ca24a845a8771e300ee3e2120087c1ced187c950f305b978d9152b147ecfd696
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module Mvp module ApplicationHelper def body_id "#{controller_name}-#{action_name}-page" end def body_classes klass = [] klass << "#{controller_name}-pages" klass << page.classes if page.classes.present? klass << "hidden-header" if page.header == false klass.join(' ') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minimum-viable-product-0.0.2 | app/helpers/mvp/application_helper.rb |