Skip to content

Commit

Permalink
Add data-turbo-track attributes
Browse files Browse the repository at this point in the history
This is what is currently generated by rails.

See https://guides.rubyonrails.org/asset_pipeline.html\#coding-links-to-assets
  • Loading branch information
jcoyne authored and cbeer committed Dec 2, 2022
1 parent 43663a3 commit 320859d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/blacklight/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</script>
<%= opensearch_description_tag application_name, opensearch_catalog_url(format: 'xml') %>
<%= favicon_link_tag %>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= stylesheet_link_tag "application", media: "all", "data-turbo-track": "reload" %>
<%= javascript_include_tag "application", "data-turbo-track": "reload" %>
<%= csrf_meta_tags %>
<%= content_for(:head) %>
Expand Down

0 comments on commit 320859d

Please sign in to comment.