Module: AwesomeTranslations::ViewsHelper

Defined in:
app/helpers/awesome_translations/views_helper.rb

Instance Method Summary collapse

Instance Method Details

#helper_t(key, *args, **opts) ⇒ Object



2
3
4
# File 'app/helpers/awesome_translations/views_helper.rb', line 2

def helper_t(key, *args, **opts)
  AwesomeTranslations::GlobalTranslator.translate(key, helper: true, caller_number: 1, translation_args: args, translation_opts: opts)
end