module Weeler::ActionView::Helpers::TranslationHelper

Public Instance Methods

t(key, options = {})
Alias for: translate
translate(key, options = {}) click to toggle source
Calls superclass method
# File lib/weeler/action_view/helpers/translation_helper.rb, line 7
def translate(key, options = {})
  request.present? && request.params[:show_translation_keys] == "true" ? key : super(key, options)
end
Also aliased as: t