Class: ActionLink::TitleSubjectName
- Inherits:
-
Object
- Object
- ActionLink::TitleSubjectName
- Includes:
- Calls
- Defined in:
- lib/action_link/title_subject_name.rb
Overview
Extracts a model from the provided i18n options.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/action_link/title_subject_name.rb', line 12 def call manual_title || compliant_model.model_name.human end |