Skip to content

Commit 97ecea1

Browse files
committed
Inject SafeParams everywhere
1 parent cab4e49 commit 97ecea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dry/rails/boot/safe_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
end
77

88
start do
9-
ApplicationController.include(Dry::Rails::Features::SafeParams)
9+
ActionController::Base.include(Dry::Rails::Features::SafeParams)
1010

1111
if defined?(ActionController::API)
1212
ActionController::API.include(Dry::Rails::Features::SafeParams)

0 commit comments

Comments
 (0)