Skip to content

Commit

Permalink
fix: include nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinkelly authored and G-Rath committed Oct 6, 2023
1 parent f0f6642 commit 70d0052
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<title>
<%%= strip_tags(yield(:title)) + " " if content_for?(:title) %>
<%%= strip_tags(yield(:title)) + " - " if content_for?(:title) %>
<%= app_const_base.titleize %>
</title>

Expand All @@ -15,7 +15,7 @@
<%%= stylesheet_link_tag("application", media: "all", "data-turbolinks-track": "reload") %>

<%%# JavaScript must be in head for Turbolinks to work. %>
<%%= javascript_pack_tag "application", "data-turbolinks-track": "reload", defer: true %>
<%%= javascript_pack_tag "application", "data-turbolinks-track": "reload", defer: true, nonce: true %>

<%%= yield(:head) %>

Expand Down

0 comments on commit 70d0052

Please sign in to comment.