Sha256: 8b690ffcde871731c580c674ab56929f40428d3cc60ec0fd6857cf708c652a8d
Contents?: true
Size: 456 Bytes
Versions: 6
Compression:
Stored size: 456 Bytes
Contents
require_dependency "tang/application_controller" module Tang class Admin::PaymentsController < Admin::ApplicationController before_action :set_payment, only: [:show] def index @payments = Tang::Charge.all. paginate(page: params[:page]). order(created: :desc) end def show end private def set_payment @payment = Charge.find(params[:id]) end end end
Version data entries
6 entries across 6 versions & 1 rubygems