Move head scripts from admin layout to haed partial

This commit is contained in:
luisramos0
2019-07-29 14:16:17 +01:00
parent 4867649fc9
commit ddf68444fb
2 changed files with 3 additions and 3 deletions

View File

@@ -21,4 +21,7 @@
= "jQuery.alerts.dialogClass = 'spree';"
= raw "var AUTH_TOKEN = \"#{form_authenticity_token}\";"
= 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"}
= yield :head

View File

@@ -3,9 +3,6 @@
%head{"data-hook" => "admin_inside_head"}
= render :partial => 'spree/admin/shared/head'
= 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"}
%body.admin
= admin_inject_currency_config
= render "layouts/i18n_script"