Class: Bard::FileField::BlobsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/bard/file_field/blobs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
7
# File 'app/controllers/bard/file_field/blobs_controller.rb', line 4

def show
  @blob = ActiveStorage::Blob.find_signed!(params[:signed_id])
  render json: @blob
end