instance method
decode_verified_key
Ruby on Rails 8.0.4
Since v5.2.8.1 PrivateSignature
decode_verified_key()
No documentation comment.
Source
# File activestorage/app/controllers/active_storage/disk_controller.rb, line 44
def decode_verified_key
key = ActiveStorage.verifier.verified(params[:encoded_key], purpose: :blob_key)
key&.deep_symbolize_keys
end
Defined in activestorage/app/controllers/active_storage/disk_controller.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::DiskController