class SpreeDigitalHooks < Spree::ThemeSupport::HookListener

  insert_after :admin_product_tabs do
    <<-END
    <li<%== ' class="active"' if current == "Digital Versions" %>>
      <%= link_to t("digital_versions"), admin_product_digitals_path(@product) %>
    </li>
    END
  end

end
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]",
                     :text => "    <li<%== ' class=\"active\"' if current == \"Digital Versions\" %>>
      <%= link_to t(\"digital_versions\"), admin_product_digitals_path(@product) %>
    </li>
",
                     :disabled => false)
end

Change insert_after to deface hook
Change insert_after to deface hook
