Method: Cms::Behaviors::Archiving::MacroMethods#is_archivable
- Defined in:
- lib/cms/behaviors/archiving.rb
#is_archivable(options = {}) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/cms/behaviors/archiving.rb', line 11 def is_archivable(={}) @is_archivable = true include InstanceMethods scope :archived, :conditions => {:archived => true} scope :not_archived, :conditions => {:archived => false} end |