Module: Courrier::Email::Translation
- Included in:
- Courrier::Email
- Defined in:
- lib/courrier/email/translation.rb
Instance Method Summary collapse
Instance Method Details
#t(key, **options) ⇒ Object
6 7 8 9 10 |
# File 'lib/courrier/email/translation.rb', line 6 def t(key, **) key = "#{i18n_scope}#{key}" if key.start_with?(".") I18n.t(key, **) end |