Class: Crm::ContentLinkEditorComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Crm::ContentLinkEditorComponent
- Includes:
- ActionView::Helpers::FormTagHelper
- Defined in:
- app/components/crm/content_link_editor_component.rb
Instance Method Summary collapse
-
#initialize(source:) ⇒ ContentLinkEditorComponent
constructor
A new instance of ContentLinkEditorComponent.
Methods inherited from ApplicationComponent
#cms_link, #fetch_or_fallback, #image_asset_tag, #image_tag, #number_to_currency, #number_with_delimiter, #post_path, #post_url, #strip_tags
Constructor Details
#initialize(source:) ⇒ ContentLinkEditorComponent
Returns a new instance of ContentLinkEditorComponent.
6 7 8 9 |
# File 'app/components/crm/content_link_editor_component.rb', line 6 def initialize(source:) super() @source = source end |