Skip to content

Commit

Permalink
Fix load_defaults rubocop autocorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
willcosgrove committed Jul 31, 2024
1 parent e32730b commit 6fb12d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Application < Rails::Application
config.autoload_paths << "#{root}/app/views"
config.autoload_paths << "#{root}/app/views/layouts"
config.autoload_paths << "#{root}/app/views/components"
config.load_defaults Float(Rails::VERSION::STRING)
config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"

# 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 Down

0 comments on commit 6fb12d7

Please sign in to comment.