Class: Crm::ContentLinkEditorComponent

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

Overview

ViewComponent: renders the content link editor block.

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.



7
8
9
10
# File 'app/components/crm/content_link_editor_component.rb', line 7

def initialize(source:)
  super()
  @source = source
end