From 70a19964352b61e78d1d63a06db2dcd9e20b1d3a Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Tue, 16 Jul 2019 15:11:35 +0100 Subject: [PATCH] Move add_currency_config deface to spree/layout/admin view --- .../spree/layouts/admin/add_currency_config.html.haml.deface | 3 --- app/views/spree/layouts/admin.html.haml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 app/overrides/spree/layouts/admin/add_currency_config.html.haml.deface diff --git a/app/overrides/spree/layouts/admin/add_currency_config.html.haml.deface b/app/overrides/spree/layouts/admin/add_currency_config.html.haml.deface deleted file mode 100644 index 0ab8f96c55..0000000000 --- a/app/overrides/spree/layouts/admin/add_currency_config.html.haml.deface +++ /dev/null @@ -1,3 +0,0 @@ -/ insert_before "div#wrapper" - -= admin_inject_currency_config diff --git a/app/views/spree/layouts/admin.html.haml b/app/views/spree/layouts/admin.html.haml index 61d67c9a13..ce752d56b0 100644 --- a/app/views/spree/layouts/admin.html.haml +++ b/app/views/spree/layouts/admin.html.haml @@ -5,6 +5,9 @@ %body.admin %div= yield(:app_wrapper_attrs).strip.html_safe + + = admin_inject_currency_config + #wrapper{"data-hook" => ""} - if flash[:error] .flash.error= flash[:error]