Sha256: d1f0860835529aa2fdc0450b4074d50c623ae4784f702a96adcdfb1f73385ab1
Contents?: true
Size: 293 Bytes
Versions: 34
Compression:
Stored size: 293 Bytes
Contents
module MinimumViableProduct module BodyHelper 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
34 entries across 34 versions & 2 rubygems