• S
    debug_missing_translation configuration added to action_view · c1dbb13e
    Sameer Rahmani 提交于
    `I18n.translate` helper will wrap the missing translation keys
    in a <span> tag only if `debug_missing_translation` configuration has
    a truthy value. Default value is `true`. For example in `application.rb`:
    
        # in order to turn off missing key wrapping
        config.action_view.debug_missing_translation = false
    c1dbb13e
railtie.rb 2.0 KB