diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
| commit | 9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch) | |
| tree | 8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /config/application.rb | |
| parent | 85a01e35274b8d4d4165a7b26bd7986e211246bb (diff) | |
| parent | 1853082fcd8c067390c246f9daa01a9b47387497 (diff) | |
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'config/application.rb')
| -rw-r--r-- | config/application.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 0000000..0be3396 --- /dev/null +++ b/config/application.rb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | require_relative "boot" | ||
| 2 | |||
| 3 | require "rails/all" | ||
| 4 | |||
| 5 | Bundler.require(*Rails.groups) | ||
| 6 | |||
| 7 | module Cccms | ||
| 8 | class Application < Rails::Application | ||
| 9 | config.load_defaults 8.1 | ||
| 10 | |||
| 11 | config.autoload_lib(ignore: %w[assets tasks]) | ||
| 12 | Rails.autoloaders.main.ignore( | ||
| 13 | Rails.root.join('lib/chaos_importer.rb'), | ||
| 14 | Rails.root.join('lib/update_importer.rb') | ||
| 15 | ) | ||
| 16 | |||
| 17 | config.time_zone = 'Berlin' | ||
| 18 | |||
| 19 | config.i18n.default_locale = :de | ||
| 20 | config.i18n.fallbacks = { en: [:en, :de] } | ||
| 21 | |||
| 22 | config.filter_parameters += [:password, :password_confirmation] | ||
| 23 | config.active_storage.variant_processor = :disabled | ||
| 24 | end | ||
| 25 | end | ||
