Class: ActionLink::New
- Inherits:
-
Base
- Object
- ViewComponent::Base
- ApplicationComponent
- Base
- ActionLink::New
- 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
Constructor Details
This class inherits a constructor from ActionLink::ApplicationComponent
Instance Method Details
#i18n_title_key ⇒ Object
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 |