CONSUL
Search…
Overwritting Application
If you need to extend or modify the config/application.rb just do it at the config/application_custom.rb file. For example if you want to change de default language to English, just add:
1
module Consul
2
class Application < Rails::Application
3
config.i18n.default_locale = :en
4
config.i18n.available_locales = [:en, :es]
5
end
6
end
Copied!
Remeber that in order to see this changes live you'll need to restart the server.
Last modified 6mo ago
Copy link