0
我是疯狂的新手。我想在狂欢的看法有些变化,并且以我发现了两个方法: 1.使用污损 2.通过重写视图如何在不覆盖视图的情况下优化Spee视图
目前,我重写的观点,但有人建议,这种做法是不太好。我想使用涂抹,但无法应用它:
Deface::Override.new(:virtual_path => "spree/checkout/registration",
:insert_before => "div#registration",
:text => "<p>Registration is the future!</p>",
:name => "registration_future")
请帮我我如何优化我的意见?
在此先感谢