File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class Application < Rails::Application
112
112
113
113
# FYI, this is where load_defaults is defined as of 7.2:
114
114
# https://github.com/rails/rails/blob/d437ae311f1b9dc40b442e40eb602e020cec4e49/railties/lib/rails/application/configuration.rb#L92
115
- config . load_defaults 7.0
115
+ config . load_defaults 7.1
116
116
117
117
# TODO: this is the only change we had from defaults in 7.0. See secure_headers.rb. It's 0 in defaults.
118
118
config . action_dispatch . default_headers [ "X-XSS-Protection" ] = "1; mode=block"
@@ -128,6 +128,10 @@ class Application < Rails::Application
128
128
# TODO: We should fix this so we don't need to carry this override.
129
129
config . active_record . belongs_to_required_by_default = false
130
130
131
+ # TODO: Rails 7.1 default overridden to fix loading scanning_operations_mixin, dialog_import_service
132
+ # manageiq/providers/infra_manager/template, dialog_field_importer, workers/event_catcher
133
+ config . add_autoload_paths_to_load_path = true
134
+
131
135
# NOTE: If you are going to make changes to autoload_paths, please make
132
136
# sure they are all strings. Rails will push these paths into the
133
137
# $LOAD_PATH.
You can’t perform that action at this time.
0 commit comments