Skip to content
Snippets Groups Projects
Unverified Commit ef3e8236 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

blob url

parent 6e838554
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
<%= number_to_human_size embed.metadata['filesize'] %>
</p>
<%= link_to t('download'),
rails_blob_url(embed.blob, disposition: 'attachment', filename: embed.filename),
embed.blob.url(disposition: 'attachment', filename: embed.filename),
class: 'btn btn-xs btn-light' %>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment