Skip to content

Commit

Permalink
display analytics without having to refresh browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
blancoj committed Dec 4, 2019
1 parent caefaf6 commit 44a106e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_show_actions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class: presenter.display_unfeature_link? ? 'btn btn-default' : 'btn btn-default collapse' %>
<% end %>
<% if Hyrax.config.analytics? %>
<%= link_to t('.analytics'), presenter.stats_path, id: 'stats', class: 'btn btn-default' %>
<%= link_to t('.analytics'), presenter.stats_path, id: 'stats', class: 'btn btn-default', data: { turbolinks: false } %>
<% end %>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/file_sets/_show_actions.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="form-actions">
<% if Hyrax.config.analytics? %>
<%= link_to t('.analytics'), @presenter.stats_path, id: 'stats', class: 'btn btn-default' %>
<%= link_to t('.analytics'), @presenter.stats_path, id: 'stats', class: 'btn btn-default', data: { turbolinks: false } %>
<% end %>
<% if @presenter.editor? %>
Expand Down

0 comments on commit 44a106e

Please sign in to comment.