Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit action of Checkout controller

I'm looking in the source code of the Checkout controller (https://github.com/spree/spree/blob/0-60-stable/core/app/controllers/checkout_controller.rb) and didn't find the edit action there. Where is it defined?

like image 637
trivektor Avatar asked May 07 '11 16:05

trivektor


1 Answers

The CheckoutController has an implied edit action. There's no direct logic for edit itself.

There is however the before_filter :load_order which in turn triggers a before_[state] callback method, depending on which state the checkout is in.

like image 146
Cluster Avatar answered Sep 28 '22 07:09

Cluster