aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/config
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-12-22 05:28:23 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-12-22 05:28:23 +0900
commit835e27289a8a3e7006856fc3177a286652cda9d6 (patch)
tree7ae37be6c9a29388a481e74c465d5aa9f0f0ac09 /activestorage/config
parent3b4f14dc43f09addb50c546ffe23b9e03eafed20 (diff)
downloadrails-835e27289a8a3e7006856fc3177a286652cda9d6.tar.gz
rails-835e27289a8a3e7006856fc3177a286652cda9d6.tar.bz2
rails-835e27289a8a3e7006856fc3177a286652cda9d6.zip
Pass options to rails_blob_url
Diffstat (limited to 'activestorage/config')
-rw-r--r--activestorage/config/routes.rb2
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) }