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")
請幫我我如何優化我的意見?
在此先感謝