Class: Crm::PostSeoPanelComponent

Inherits:
ApplicationComponent show all
Includes:
ActionView::Helpers::NumberHelper, ActionView::Helpers::OutputSafetyHelper, ActionView::Helpers::TagHelper, ActionView::Helpers::UrlHelper
Defined in:
app/components/crm/post_seo_panel_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(post:) ⇒ PostSeoPanelComponent

Returns a new instance of PostSeoPanelComponent.



9
10
11
12
# File 'app/components/crm/post_seo_panel_component.rb', line 9

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