Class: ActionLink::New

Inherits:
Base show all
Defined in:
app/components/action_link/new.rb

Overview

An action link that indicates adding a new record.

Constant Summary collapse

ICON =
'plus-circle'

Instance Method Summary collapse

Methods inherited from Base

#icon?, #icon_tag, #options, #permission?

Methods inherited from ApplicationComponent

#initialize

Constructor Details

This class inherits a constructor from ActionLink::ApplicationComponent

Instance Method Details

#i18n_title_keyObject



25
26
27
28
29
# File 'app/components/action_link/new.rb', line 25

def i18n_title_key
  return 'action_link_component.titles.assign' if associative

  super
end