Skip to content

Commit

Permalink
Preview fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hschne committed Jan 3, 2024
1 parent 4ac0004 commit 35e85c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/uploads/preview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@
<div id="curl" class="py-4" data-tabs-target="panel">
<%= render "components/code" do %>
curl -L
<%= Rails.application.routes.url_helpers.download_url(@upload) %>.json \<br>
"<%= @upload.file.filename.to_s %>"<br>
<%= Rails.application.routes.url_helpers.download_url(@upload) %>.json &gt; "<%= @upload.file.filename.to_s %>"<br>
<% end %>
</div>

Expand Down

0 comments on commit 35e85c3

Please sign in to comment.