Module: SmoothOperator::Translation
- Included in:
- Base
- Defined in:
- lib/smooth_operator/translation.rb
Instance Method Summary collapse
Instance Method Details
#human_attribute_name(attribute_key_name, options = {}) ⇒ Object
5 6 7 |
# File 'lib/smooth_operator/translation.rb', line 5 def human_attribute_name(attribute_key_name, = {}) _translate("attributes.#{model_name.i18n_key}.#{attribute_key_name}", = {}) end |