Sha256: e8b66548214a78de1decf7624d6e4ccea63e42e8443b4b4bf4e87423a274a7f7
Contents?: true
Size: 475 Bytes
Versions: 66
Compression:
Stored size: 475 Bytes
Contents
class Gemini::XyzRuleView < Marty::DeloreanRuleView has_marty_permissions create: :admin, read: :admin, update: :admin, delete: :admin def self.klass Gemini::XyzRule end def configure(c) super c.title = 'Xyz Rules' end def default_form_items super end self.init_fields attribute :rule_type do |c| c.width = 200 enum_column(c, Gemini::XyzRuleType) end end
Version data entries
66 entries across 66 versions & 1 rubygems