Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set turbolinks to false for the exporter index page #791

Merged
merged 1 commit into from
Apr 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/bulkrax/exporters/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% provide :page_header do %>
<h1><span class="fa fa-cloud-download" aria-hidden="true"></span> Exporters</h1>
<div class="pull-right">
<%= link_to new_exporter_path, class: 'btn btn-primary' do %>
<%= link_to new_exporter_path, class: 'btn btn-primary', data: { turbolinks: false } do %>
<span class="fa fa-edit" aria-hidden="true"></span> <%= t(:'helpers.action.exporter.new') %>
<% end %>
</div>
Expand Down Expand Up @@ -42,7 +42,7 @@
<% end%>
</td>
<td><%= link_to raw('<span class="glyphicon glyphicon-info-sign"></span>'), exporter_path(exporter) %></td>
<td><%= link_to raw('<span class="glyphicon glyphicon-pencil"></span>'), edit_exporter_path(exporter) %></td>
<td><%= link_to raw('<span class="glyphicon glyphicon-pencil"></span>'), edit_exporter_path(exporter), data: { turbolinks: false } %></td>
<td><%= link_to raw('<span class="glyphicon glyphicon-remove"></span>'), exporter, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
Expand Down