Where is the CheckoutController#edit in spree?

旧巷老猫 提交于 2019-12-23 16:30:02

问题


I need to play with edit action of the CheckoutController, and I see it in server logs, I see it in documentation but I can't find it in gem's code.

Where's the magic? Spree version is 1.2.2


回答1:


You can find it inside the spree_core gem in

spree_core-1.3.0/app/controllers/spree/checkout_controller.rb

You might find useful to use tools such as ack to search files. I found it by running ack-grep CheckoutController inside the gems directory.

Note that ack-grep is just an alias for ack to avoid name collision on ubuntu.



来源:https://stackoverflow.com/questions/14071372/where-is-the-checkoutcontrolleredit-in-spree

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!