Class: Pay::PaymentsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/pay/payments_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject


5
6
7
8
# File 'app/controllers/pay/payments_controller.rb', line 5

def show
  @redirect_to = params[:back].presence || root_path
  @payment = Payment.from_id(params[:id])
end