Sha256: 98be150939539f41df21740f120dfc8074017b2b2fb85c1c59613577d48c74cf
Contents?: true
Size: 300 Bytes
Versions: 45
Compression:
Stored size: 300 Bytes
Contents
module MinimumViableProduct 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.join(' ') end end end
Version data entries
45 entries across 45 versions & 1 rubygems