Module: Weeler::ActionView::Helpers::TranslationHelper
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/weeler/action_view/helpers/translation_helper.rb
Instance Method Summary collapse
- #translate(key, **options) ⇒ Object (also: #t)
Instance Method Details
#translate(key, **options) ⇒ Object Also known as: t
7 8 9 |
# File 'lib/weeler/action_view/helpers/translation_helper.rb', line 7 def translate(key, **) request.present? && request.params[:show_translation_keys] == "true" ? key : super(key, **) end |