Sha256: d3b80af964b9ee04e428f3e4bc6505dab8bd10acb96f0f389d754bb459f8434e
Contents?: true
Size: 679 Bytes
Versions: 52
Compression:
Stored size: 679 Bytes
Contents
module Udongo module Configs class Articles include Virtus.model attribute :allow_html_in_title, Axiom::Types::Boolean, default: false attribute :allow_html_in_summary, Axiom::Types::Boolean, default: false attribute :editor_for_summary, Axiom::Types::Boolean, default: false attribute :images, Axiom::Types::Boolean, default: true def allow_html_in_title? allow_html_in_title === true end def allow_html_in_summary? allow_html_in_summary === true end def editor_for_summary? editor_for_summary === true end def images? images === true end end end end
Version data entries
52 entries across 52 versions & 1 rubygems