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



4
5
6
# File 'lib/smooth_operator/translation.rb', line 4

def human_attribute_name(attribute_key_name, options = {})
  _translate("attributes.#{model_name.i18n_key}.#{attribute_key_name}", options = {})
end