Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

deface fixed

  • Loading branch information...
commit 778513e35712d77408ac2f46fd0e27151bcb9e6b 1 parent 27862d9
@pirj authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 app/overrides/views_decorator.rb
View
14 app/overrides/views_decorator.rb
@@ -1,5 +1,5 @@
Deface::Override.new(
- :virtual_path => "admin/orders/show",
+ :virtual_path => "spree/admin/orders/show",
:name => "synergy_admin_order_show_buttons",
:insert_before => "[data-hook='admin_order_show_buttons'], #admin_order_show_buttons[data-hook]",
:text => "
@@ -8,9 +8,9 @@
:disabled => false)
Deface::Override.new(
- :virtual_path => "admin/configurations/index",
+ :virtual_path => "spree/admin/configurations/index",
:name => "synergy_admin_configurations_menu",
- :insert_bottom => "[data-hook='admin_configurations_menu'], #admin_configurations_menu[data-hook]",
+ :insert_before => "[data-hook='admin_configurations_menu'], #admin_configurations_menu[data-hook]",
:text => "<tr>
<td><%= link_to t(\"synergy_settings\"), admin_synergy_settings_path %></td>
<td><%= t(\"synergy_settings_desc\") %></td>
@@ -18,24 +18,22 @@
:disabled => false)
Deface::Override.new(
- :virtual_path => "admin/shared/_configuration_menu",
+ :virtual_path => "spree/admin/shared/_configuration_menu",
:name => "synergy_admin_configurations_sidebar_menu",
:insert_bottom => "[data-hook='admin_configurations_sidebar_menu'], #admin_configurations_sidebar_menu[data-hook]",
:text => "<li<%== ' class=\"active\"' if controller.controller_name == 'synergy_settings' %>><%= link_to t(\"synergy_settings\"), admin_synergy_settings_path %></li>",
:disabled => false)
Deface::Override.new(
- :virtual_path => "admin/shared/_order_tabs",
+ :virtual_path => "spree/admin/shared/_order_tabs",
:name => "synergy_admin_order_tabs",
:insert_bottom => "[data-hook='admin_order_tabs'], #admin_order_tabs[data-hook]",
:partial => "admin/orders/juridical_tabs",
:disabled => false)
Deface::Override.new(
- :virtual_path => "users/show",
+ :virtual_path => "spree/users/show",
:name => "synergy_account_summary",
:insert_bottom => "[data-hook='account_summary'], #account_summary[data-hook]",
:partial => "users/status",
:disabled => false)
-
-
Please sign in to comment.
Something went wrong with that request. Please try again.