Class: ContentElementHtml
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ContentElementHtml
- Includes:
- ActsAsContentElement
- Defined in:
- app/models/content_element_html.rb
Overview
Schema Information
Table name: content_element_htmls
id :integer(4) not null, primary key content_element_id :integer(4) html :text 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
29 30 31 |
# File 'app/models/content_element_html.rb', line 29 def administration_partial "admin/content_elements/types/content_element_html/administration" end |
- (Object) icon
returns the icon, that is used for the backend
23 24 25 |
# File 'app/models/content_element_html.rb', line 23 def icon "icons/content_elements/content_element_html.png" end |