Class: NimbleshopSimply::OrdersController

Inherits:
SimplyController
  • Object
show all
Defined in:
app/controllers/nimbleshop_simply/orders_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



9
10
11
12
13
14
15
# File 'app/controllers/nimbleshop_simply/orders_controller.rb', line 9

def show
  @page_title     = 'Purchase is complete'
  @order          = Order.find_by_number!(params[:id])
  @payment_method = @order.payment_method

  respond_with(@order)
end