Skip to content

Commit

Permalink
fix config defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-mcneil committed Dec 17, 2024
1 parent 706642c commit d5f0325
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_7_0.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true

# 7.0 - WOULD BE GREAT TO REMOVE ME
config.action_controller.raise_on_open_redirects = false
Rails.application.config.action_controller.raise_on_open_redirects = false
4 changes: 2 additions & 2 deletions config/initializers/new_framework_defaults_7_1.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

# 7.1 - WOULD BE GREAT TO REMOVE ME
config.add_autoload_paths_to_load_path = true
config.active_record.raise_on_assign_to_attr_readonly = false
Rails.application.config.add_autoload_paths_to_load_path = true
Rails.application.config.active_record.raise_on_assign_to_attr_readonly = false

0 comments on commit d5f0325

Please sign in to comment.