Sha256: dc126b29366053a49a267c8ae1ee23c0997640aac0a1858071c068fdf7dc7dcd
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
module ExpressAdmin class LayoutComponent < ExpressTemplates::Components::Base include ExpressTemplates::Components::Capabilities::Configurable include ExpressTemplates::Components::Capabilities::Parenting def dom_id @config.try(:[], :id) end def classes ([macro_name] + (@config.try(:[], :class)||[])).join(" ") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
express_admin-1.2.1 | app/components/express_admin/layout_component.rb |
express_admin-1.2.0 | app/components/express_admin/layout_component.rb |