Permalink
Browse files

fix: social sharing settings link in admin configuration sidebar for …

…spree 1.3.0
  • Loading branch information...
1 parent 068c111 commit b3cad0559eecbc0147b2d5733d55372167bace6e @kunalchaudhari kunalchaudhari committed Dec 21, 2012
@@ -1,5 +1,5 @@
-Deface::Override.new(:virtual_path => "spree/admin/configurations/index",
+Deface::Override.new(:virtual_path => "spree/admin/shared/_configuration_menu",
:name => "add_social_products_to_configurations_menu",
- :insert_after => "[data-hook='admin_configurations_menu']",
+ :insert_bottom => "[data-hook='admin_configurations_sidebar_menu']",
:partial => "spree/admin/shared/configurations_menu_social_products",
:disabled => false)
@@ -1,4 +1 @@
-<tr>
- <td><%= link_to t("social_sharing_buttons"), edit_admin_social_path %></td>
- <td><%= t("social_sharing_buttons_description") %></td>
-</tr>
+<%= configurations_sidebar_menu_item t(:social_sharing_buttons), edit_admin_social_path %>

0 comments on commit b3cad05

Please sign in to comment.