Skip to content

Commit

Permalink
Add CSP tags to default layout
Browse files Browse the repository at this point in the history
This is needed to get Trix and CSP to play together.
  • Loading branch information
betelgeuse authored and nickcharlton committed Oct 6, 2020
1 parent 5a7ddca commit 6a74fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/administrate/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ By default, it renders:
</title>
<%= render "stylesheet" %>
<%= csrf_meta_tags %>
<%= csp_meta_tag if defined?(csp_meta_tag) %>
</head>
<body>
<%= render "icons" %>
Expand Down

0 comments on commit 6a74fbc

Please sign in to comment.