aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/active_storage/disk_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/active_storage/disk_controller.rb')
-rw-r--r--app/controllers/active_storage/disk_controller.rb2
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 62380a3774..7269239216 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::VerifiedKeyWithExpiration.decode(params[:encoded_key])
+ ActiveStorage.verifier.verified(params[:encoded_key])
end
def disposition_param