diff options
author | Xavier Noria <fxn@hashref.com> | 2017-08-15 18:48:19 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2017-08-15 18:50:46 +0200 |
commit | ae87217382a4f1f2bdfcdcb8ca6d486ec96e8d6c (patch) | |
tree | 1f64e60447883ad3a112b3b7425d5ab28bbecdf2 /activestorage/app/controllers/active_storage | |
parent | 76ee15f04f2455c225b11466e9d4e5c32667b148 (diff) | |
download | rails-ae87217382a4f1f2bdfcdcb8ca6d486ec96e8d6c.tar.gz rails-ae87217382a4f1f2bdfcdcb8ca6d486ec96e8d6c.tar.bz2 rails-ae87217382a4f1f2bdfcdcb8ca6d486ec96e8d6c.zip |
minor tweaks in Active Storage after a walkthrough
Diffstat (limited to 'activestorage/app/controllers/active_storage')
-rw-r--r-- | activestorage/app/controllers/active_storage/disk_controller.rb | 2 |
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 |