diff --git a/app/overrides/add_pages_to_admin_sidebar_menu.rb b/app/overrides/add_pages_to_admin_sidebar_menu.rb index 182e79d2..4e2a19a2 100644 --- a/app/overrides/add_pages_to_admin_sidebar_menu.rb +++ b/app/overrides/add_pages_to_admin_sidebar_menu.rb @@ -1,6 +1,6 @@ Deface::Override.new( - virtual_path: 'spree/layouts/admin', + virtual_path: 'spree/admin/shared/_main_menu', name: 'pages_admin_sidebar_menu', - insert_bottom: '#main-sidebar', + insert_bottom: 'nav', partial: 'spree/admin/shared/pages_sidebar_menu' ) diff --git a/app/views/spree/admin/pages/_form.html.erb b/app/views/spree/admin/pages/_form.html.erb index ec603c46..115e741f 100644 --- a/app/views/spree/admin/pages/_form.html.erb +++ b/app/views/spree/admin/pages/_form.html.erb @@ -4,7 +4,7 @@ <%= form_for [:admin, resource] do |f| %>