diff options
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 9639248..136f5cc 100644 --- a/config/application.rb +++ b/config/application.rb @@ -17,6 +17,9 @@ Bundler.require(*Rails.groups) module Packages class Application < Rails::Application + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 5.1 + # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. @@ -37,6 +40,8 @@ module Packages config.autoload_paths << Rails.root.join('lib') config.active_job.queue_adapter = :sidekiq + + config.middleware.use ActionDispatch::Flash end end |