Method: Effective::OrdersController#show
- Defined in:
- app/controllers/effective/orders_controller.rb
#show ⇒ Object
If you want to use the order = Effective::Order.new(@thing); order.save! flow Add one or more items to the order. redirect_to effective_orders.order_path(order), which is here This is the entry point for an existing order. Might render step1 or step2
57 58 59 60 61 62 |
# File 'app/controllers/effective/orders_controller.rb', line 57 def show @order = Effective::Order.find(params[:id]) EffectiveOrders.(self, :show, @order) @page_title ||= ((@order.user == current_user && !@order.purchased?) ? 'Checkout' : @order.to_s) end |