method

set_blob

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: SetBlob
set_blob() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/controllers/concerns/active_storage/set_blob.rb, line 11
    def set_blob
      @blob = blob_scope.find_signed!(params[:signed_blob_id] || params[:signed_id])
    rescue ActiveSupport::MessageVerifier::InvalidSignature
      head :not_found
    end
Register or log in to add new notes.