我正在定制我的狂欢电子商务应用程序。起初我添加了spree_bootstrap_frontend
gem,我想自定义 oredres/edit 视图如下:
Deface::Override.new(:virtual_path =>"spree/orders/edit",
:name => "continue_shopping",
:replace => "erb[loud]:contains('link_to t(:continue_shopping), products_path')",
:erb => "<%= link_to t(:continue_shopping), products_path, :class => 'btn btn-primary' %>")
但没有任何变化。你能帮助我的第一个自定义视图吗?