app/views/plugins/ecommerce/admin/orders/show.html.erb in camaleon_ecommerce-1.2.1 vs app/views/plugins/ecommerce/admin/orders/show.html.erb in camaleon_ecommerce-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
<div class="panel panel-default">
<div class="panel-heading">
<h4><%= t('.title', default: 'Order Details') %>: <%= @order.slug %></h4>
</div>
<div class="panel-body">
- <%= render file: plugin_view('front/orders/show'), as_partial: true %>
+ <%= render file: plugin_view('front/orders/show'), locals:{as_partial: true} %>
</div>
<div class="panel-footer">
<button class="btn btn-default" onclick="history.back()"><%= t('camaleon_cms.admin.button.back') %></button>
</div>
</div>