diff --git a/app/overrides/set_auth_token_in_backend.rb b/app/overrides/set_auth_token_in_backend.rb deleted file mode 100644 index 8dcbc5744c..0000000000 --- a/app/overrides/set_auth_token_in_backend.rb +++ /dev/null @@ -1,5 +0,0 @@ -Deface::Override.new(virtual_path: "spree/layouts/admin", - insert_bottom: "[data-hook='admin_inside_head']", - partial: "layouts/auth_token_script", - name: "set_auth_token_in_backend", - original: '6bc2c5de1c8f7542d033548557437c9fe4b3ba02') diff --git a/app/overrides/set_auth_token_in_frontend.rb b/app/overrides/set_auth_token_in_frontend.rb deleted file mode 100644 index aeb51d4194..0000000000 --- a/app/overrides/set_auth_token_in_frontend.rb +++ /dev/null @@ -1,5 +0,0 @@ -Deface::Override.new(virtual_path: "spree/layouts/spree_application", - insert_bottom: "[data-hook='inside_head']", - partial: "layouts/auth_token_script", - name: "set_auth_token_in_frontend", - original: '5659ac7dbf6ac6469907b005b85285b894677815') diff --git a/app/views/spree/admin/shared/_head.html.haml b/app/views/spree/admin/shared/_head.html.haml index 7d741c0804..7c47905b0d 100644 --- a/app/views/spree/admin/shared/_head.html.haml +++ b/app/views/spree/admin/shared/_head.html.haml @@ -24,4 +24,6 @@ = render "layouts/bugherd_script" %link{'data-require' => "font-awesome@*", 'data-semver'=>"4.2.0", 'rel' => "stylesheet", 'href' => "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css"} += render "layouts/auth_token_script" + = yield :head