diff options
-rw-r--r-- | activestorage/config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/config/routes.rb b/activestorage/config/routes.rb index ad9640ce03..3f4129d915 100644 --- a/activestorage/config/routes.rb +++ b/activestorage/config/routes.rb @@ -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) } |