Class: RivetCms::ContentType
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- RivetCms::ContentType
- Includes:
- HasFields, OrganizationScoped, Sluggable, SoftDeletable
- Defined in:
- app/models/rivet_cms/content_type.rb
Constant Summary
Constants included from Sluggable
Instance Method Summary collapse
Methods included from SoftDeletable
#discard, #discard!, #discarded?, #kept?, #undiscard, #undiscard!
Methods included from HasFields
#active_fields, #all_fields, #discarded_fields
Instance Method Details
#collection? ⇒ Boolean
28 29 30 |
# File 'app/models/rivet_cms/content_type.rb', line 28 def collection? !single? end |