Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Files

Latest commit

e6c5101 · Feb 20, 2023

History

History
14 lines (11 loc) · 502 Bytes

overwriting.md

File metadata and controls

14 lines (11 loc) · 502 Bytes

Adaptar application.rb

Cuando necesites extender o modificar el config/application.rb puedes hacerlo a través del fichero config/application_custom.rb. Por ejemplo si quieres modificar el idioma por defecto al inglés pondrías lo siguiente:

module Consul
  class Application < Rails::Application
    config.i18n.default_locale = :en
    config.i18n.available_locales = [:en, :es]
  end
end

Recuerda que para ver reflejado estos cambios debes reiniciar el servidor de desarrollo.