Skip to content

Commit

Permalink
Enable new Rails 7.2 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
unoduetre committed Aug 22, 2024
1 parent 3fdade3 commit ba7f53c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 72 deletions.
4 changes: 2 additions & 2 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
module GovernmentFrontend
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.1
config.load_defaults 7.2

# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
Expand All @@ -34,7 +34,7 @@ class Application < Rails::Application
# the framework and any gems in your application.

# Custom directories with classes and modules you want to be autoloadable.
config.autoload_paths += %W[#{config.root}/lib]
config.autoload_paths += %W[#{config.root}/lib #{config.root}/lib/helpers]

# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
Expand Down
70 changes: 0 additions & 70 deletions config/initializers/new_framework_defaults_7_2.rb

This file was deleted.

0 comments on commit ba7f53c

Please sign in to comment.