Skip to content

Commit

Permalink
Fix loading framework defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Oct 27, 2023
1 parent c6bb6f0 commit 6892d11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
module Demo
# :nocov:
class Application < Rails::Application
if Rails.version.to_i >= 7
if Rails.version.to_i >= 7.1
config.load_defaults 7.1
elsif Rails.version.to_i >= 7
config.load_defaults 7.0
elsif Rails.version.to_i >= 6
config.load_defaults 6.0
end
Expand Down

0 comments on commit 6892d11

Please sign in to comment.