app/views/layouts/thredded/application.html.erb in thredded-0.16.16 vs app/views/layouts/thredded/application.html.erb in thredded-1.0.0
- old
+ new
@@ -3,15 +3,15 @@
<head>
<title>Thredded | <%= yield :thredded_page_title %></title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<%= stylesheet_link_tag 'thredded', 'data-turbolinks-track': 'reload' %>
<%= csrf_meta_tag %>
- <%= csp_meta_tag if Thredded.rails_supports_csp_nonce? %>
+ <%= csp_meta_tag %>
<%= javascript_include_tag 'thredded',
async: !Rails.application.config.assets.debug,
defer: true,
'data-turbolinks-track': 'reload' %>
- <%== Gravatar.prefetch_dns %>
+ <%= RailsGravatar.prefetch_dns_tag %>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head>
<body>
<%= yield %>
</body>