app/controllers/application_controller.rb
# Defines base variables for use in scoped i18n calls, used by meta tag helper methods
Defines base variables for use in scoped i18n calls, used by meta tag helper methods
Defines base variables for use in scoped i18n calls used by meta tag helper methods
def scoped_variables_for_translations
    @scoped_variables_for_translations ||= {
      default: '',
      scope: controller_action_scope }.freeze 
  end
def scoped_variables_for_translations @scoped_variables_for_translations ||= { default : '' , scope : controller_action_scope } . freeze end
Defines base variables for use in scoped i18n calls, used by meta tag helper methods
Defines base variables for use in scoped i18n calls used by meta tag helper methods
# frozen to force use of dup, otherwise wrong vars get sent to i18n