Sha256: 30f00e571237404f41390f52ac5dd950f8243ca7560b74f37c48d2fc6b9ca9b2
Contents?: true
Size: 836 Bytes
Versions: 2
Compression:
Stored size: 836 Bytes
Contents
Rails.application.configure do # Session Store config.session_store :cookie_store, expire_after: 1.year, domain: ".#{ENV["BASE_DOMAIN"].presence || "all"}" # I18n config.i18n.available_locales = %w(it en) config.i18n.default_locale = :it config.time_zone = 'Rome' # Active Storage config.active_storage.configure :Disk, root: Rails.root.join("storage") # ActionMailer config.action_mailer.delivery_method = :smtp # AFTER INITIALIZE Good place to load things that must have a bit of initialization # setup on order to work (and not be overrided). config.after_initialize do # include the extensions ActiveRecord::Base.send(:include, ActiveRecordExtensions) Integer.send(:include, FixnumConcern) String.send(:include, StringConcern) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thecore_backend_commons-3.0.5 | config/initializers/thecore_backend_commons_app_configs.rb |
thecore_backend_commons-3.0.4 | config/initializers/thecore_backend_commons_app_configs.rb |