Puting the deface in the right spot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class SpreeDigitalHooks < Spree::ThemeSupport::HookListener
|
||||
Deface::Override.new(:virtual_path => "admin/shared/_product_tabs",
|
||||
:name => "converted_admin_product_tabs_986577829",
|
||||
:insert_after => "[data-hook='admin_product_tabs'], #admin_product_tabs[data-hook]",
|
||||
:insert_bottom => "[data-hook='admin_product_tabs'], #admin_product_tabs[data-hook]",
|
||||
:text => " <li<%== ' class=\"active\"' if current == \"Digital Versions\" %>>
|
||||
<%= link_to t(\"digital_versions\"), admin_product_digitals_path(@product) %>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user