Sha256: c559a0e2467bfc708283195dd664dbdf3c05292e4b5a2c30d39247386749c689
Contents?: true
Size: 342 Bytes
Versions: 19
Compression:
Stored size: 342 Bytes
Contents
module LolitaHelper # Classes for div block that is located to the right of menu # This is helpful because different positionings within it exist depending on action def content_classes classes = [] if params[:action] == "edit" || params[:action] == "new" classes << "with-secondary" end classes.join(" ") end end
Version data entries
19 entries across 19 versions & 1 rubygems