aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-23 13:19:32 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-23 13:19:32 -0500
commit347dc166324c108b4a9c25c5ab03222a2f42b1d0 (patch)
treea268301da79b96278bc99439812f8c2c034fd000 /app/controllers
parentc285c6824dc186e00040b7283877fea917050275 (diff)
downloadrails-347dc166324c108b4a9c25c5ab03222a2f42b1d0.tar.gz
rails-347dc166324c108b4a9c25c5ab03222a2f42b1d0.tar.bz2
rails-347dc166324c108b4a9c25c5ab03222a2f42b1d0.zip
VerifiedKeyWithExpiration no longer needed
Thanks to rails/rails#29854! This does mean that we now depend on rails/rails master.
Diffstat (limited to 'app/controllers')
-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