In "spree_application.html.erb" file I need to override an existing partial Get the complete code from below link :
sample contents :
<%= render :partial => 'spree/shared/header' %>
<div id="wrapper" class="row" data-hook>
<%= breadcrumbs(@taxon) %>
<%= render :partial => 'spree/shared/sidebar' if content_for? :sidebar %>
<div id="content" class="columns <%= !content_for?(:sidebar) ? "sixteen" : "twelve" %>" data-hook>
<%= flash_messages %>
<%= yield %>
</div>
<%= yield :templates %>
</div>
Here I need to replace following partial using Deface:
<%= render :partial => 'spree/shared/header' %>
my Deface file : header_modification.rb :
Deface::Override.new(:virtual_path => 'spree/layouts/spree_application',
:name => 'header_modification',
:replace => ?
:partial => 'spree/shared/spree_application'
)
What should be written in :replace part / any other action can be used to override that partial using Deface ?