diff options
Diffstat (limited to 'app/controllers/active_storage/disk_controller.rb')
-rw-r--r-- | app/controllers/active_storage/disk_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/active_storage/disk_controller.rb b/app/controllers/active_storage/disk_controller.rb index 7269239216..a42b4833a7 100644 --- a/app/controllers/active_storage/disk_controller.rb +++ b/app/controllers/active_storage/disk_controller.rb @@ -24,7 +24,7 @@ class ActiveStorage::DiskController < ActionController::Base end def decode_verified_key - ActiveStorage.verifier.verified(params[:encoded_key]) + ActiveStorage.verifier.verified(params[:encoded_key], purpose: :blob_key) end def disposition_param |