Skip to content

Commit

Permalink
Fix dumb mistake of not creating the correct urls
Browse files Browse the repository at this point in the history
  • Loading branch information
abuisman committed Oct 7, 2022
1 parent cda2ffd commit 1e2628a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/blazer/queries/_sharing_modal.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

<div class="form-group">
<label for="csvShare">CSV</label>
<input type="text" class="form-control" id="csvShare" readonly value="<%= Blazer.sharing.url_for(7, request.url, format: 'csv') %>">
<input type="text" class="form-control" id="csvShare" readonly value="<%= Blazer.sharing.url_for(@query.id, request.url, format: 'csv') %>">
</div>

<div class="form-group">
<label for="csvShare">Google sheets</label>
<input type="text" class="form-control" id="googleShare" readonly value='=IMPORTDATA("<%= Blazer.sharing.url_for(7, request.url, format: 'csv') %>")'>
<input type="text" class="form-control" id="googleShare" readonly value='=IMPORTDATA("<%= Blazer.sharing.url_for(@query.id, request.url, format: 'csv') %>")'>
</div>
</div>
</div>
Expand Down

0 comments on commit 1e2628a

Please sign in to comment.