mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Pass options to rails_blob_url
This commit is contained in:
parent
3b4f14dc43
commit
835e27289a
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Rails.application.routes.draw do
|
|||
route_for(:rails_service_blob, blob.signed_id, blob.filename, options)
|
||||
end
|
||||
|
||||
resolve("ActiveStorage::Blob") { |blob, options| route_for(:rails_blob, blob) }
|
||||
resolve("ActiveStorage::Blob") { |blob, options| route_for(:rails_blob, blob, options) }
|
||||
resolve("ActiveStorage::Attachment") { |attachment, options| route_for(:rails_blob, attachment.blob, options) }
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue