Class: ContentElementImage
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ContentElementImage
- Includes:
- ActsAsContentElement
- Defined in:
- app/models/content_element_image.rb
Overview
Schema Information
Table name: content_element_images
id :integer(4) not null, primary key content_element_id :integer(4) created_at :datetime updated_at :datetime
Instance Method Summary
- - (Object) administration_partial defines the path to the partial, that gets rendered in the body part of a content element in the backend custom content elements should have a method ‘administration_partial’ returning the specific partial.
- - (Object) icon returns the icon, that is used for the backend.
Instance Method Details
- (Object) administration_partial
defines the path to the partial, that gets rendered in the body part of a content element in the backend custom content elements should have a method ‘administration_partial’ returning the specific partial
32 33 34 |
# File 'app/models/content_element_image.rb', line 32 def administration_partial "admin/content_elements/types/content_element_image/administration" end |
- (Object) icon
returns the icon, that is used for the backend
26 27 28 |
# File 'app/models/content_element_image.rb', line 26 def icon "icons/content_elements/content_element_image.png" end |