mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-29 16:34:32 +08:00
Switch to Rails 6.0 app defaults with zeitwerk loader [SCI-3890]
This commit is contained in:
parent
7181365f7d
commit
83184c23f3
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ Bundler.require(*Rails.groups)
|
|||
module Scinote
|
||||
class Application < Rails::Application
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 5.2
|
||||
config.load_defaults 6.0
|
||||
|
||||
Rails.autoloaders.main.ignore(Rails.root.join('addons', '*', 'app', 'decorators'))
|
||||
|
||||
# config.add_autoload_paths_to_load_path = false
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue