Mercurial > zeropaste
changeset 504:aaf58c17694b
Move out custom application config
author | nanaya <me@nanaya.net> |
---|---|
date | Mon, 16 Dec 2024 01:34:05 +0900 |
parents | 2392b86711a1 |
children | 7236c8864ad2 |
files | config/application.rb config/initializers/00zeropaste.rb |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/config/application.rb Mon Dec 16 01:15:49 2024 +0900 +++ b/config/application.rb Mon Dec 16 01:34:05 2024 +0900 @@ -1,4 +1,3 @@ -require_relative "config_init" require_relative "boot" require "rails" @@ -36,8 +35,5 @@ # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") - - config.active_record.schema_format = :sql - config.middleware.delete ActionDispatch::HostAuthorization end end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/initializers/00zeropaste.rb Mon Dec 16 01:34:05 2024 +0900 @@ -0,0 +1,4 @@ +require_relative "../config_init" + +Rails.application.config.active_record.schema_format = :sql +Rails.application.config.middleware.delete ActionDispatch::HostAuthorization