opennorth/citizen_budget_model

View on GitHub
config/initializers/i18n.rb

Summary

Maintainability
A
0 mins
Test Coverage
def _(msgid, options = {})
  I18n.translate(msgid, {default: msgid.to_s}.merge(options))
end

# Disable the storage of subtrees by passing `false`.
I18n.backend = I18n::Backend::Chain.new(I18n::Backend::KeyValue.new(Redis.new, false), I18n.backend)