aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/controllers/active_storage
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/app/controllers/active_storage')
-rw-r--r--activestorage/app/controllers/active_storage/disk_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activestorage/app/controllers/active_storage/disk_controller.rb b/activestorage/app/controllers/active_storage/disk_controller.rb
index b10d4e2cac..dee88054da 100644
--- a/activestorage/app/controllers/active_storage/disk_controller.rb
+++ b/activestorage/app/controllers/active_storage/disk_controller.rb
@@ -33,7 +33,6 @@ class ActiveStorage::DiskController < ActionController::Base
ActiveStorage::Blob.service
end
-
def decode_verified_key
ActiveStorage.verifier.verified(params[:encoded_key], purpose: :blob_key)
end
@@ -42,7 +41,6 @@ class ActiveStorage::DiskController < ActionController::Base
params[:disposition].presence_in(%w( inline attachment )) || "inline"
end
-
def decode_verified_token
ActiveStorage.verifier.verified(params[:encoded_token], purpose: :blob_token)
end