Implementing Subresource Integrity (#1729)
* Add sprockets-rails to Gemfile * Add sprockets-rails to Gemfile.lock * Update show.html.haml * Update index.html.haml * Update admin.html.haml * Update auth.html.haml * Update embedded.html.haml * Update public.html.haml
This commit is contained in:
parent
4445ebdad2
commit
a6807201d2
8 changed files with 8 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
- content_for :header_tags do
|
||||
= javascript_include_tag 'application_public'
|
||||
= javascript_include_tag 'application_public', integrity: true
|
||||
|
||||
- content_for :content do
|
||||
.admin-wrapper
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- content_for :header_tags do
|
||||
= javascript_include_tag 'application_public'
|
||||
= javascript_include_tag 'application_public', integrity: true
|
||||
|
||||
- content_for :content do
|
||||
.container
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
%head
|
||||
%meta{:charset => 'utf-8'}/
|
||||
= stylesheet_link_tag 'application', media: 'all'
|
||||
= javascript_include_tag 'application_public'
|
||||
= javascript_include_tag 'application_public', integrity: true
|
||||
%body.embed
|
||||
= yield
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- content_for :header_tags do
|
||||
= javascript_include_tag 'application_public'
|
||||
= javascript_include_tag 'application_public', integrity: true
|
||||
|
||||
- content_for :content do
|
||||
.container= yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue