Where is the CheckoutController#edit in spree?

2019-07-03 14:35发布

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条回答
forever°为你锁心
2楼-- · 2019-07-03 15:19

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.

查看更多
登录 后发表回答