Class: Crm::ContentLinkEditorComponent

Inherits:
ApplicationComponent show all
Includes:
ActionView::Helpers::FormTagHelper
Defined in:
app/components/crm/content_link_editor_component.rb

Instance Method Summary collapse

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