Class: Decidim::AttachmentCollection
- Inherits:
 - 
      ApplicationRecord
      
        
- Object
 - ActiveRecord::Base
 - ApplicationRecord
 - Decidim::AttachmentCollection
 
 
- Includes:
 - Traceable, TranslatableResource
 
- Defined in:
 - app/models/decidim/attachment_collection.rb
 
Overview
Categories serve as a taxonomy for attachments to use for while in the context of a participatory space.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.log_presenter_class_for(_log) ⇒ Object
      20 21 22  | 
    
      # File 'app/models/decidim/attachment_collection.rb', line 20 def self.log_presenter_class_for(_log) Decidim::AdminLog::AttachmentCollectionPresenter end  | 
  
Instance Method Details
#unused? ⇒ Boolean
      16 17 18  | 
    
      # File 'app/models/decidim/attachment_collection.rb', line 16 def unused? .empty? end  |