Gab Social. All are welcome.

This commit is contained in:
robcolbert
2019-07-02 03:10:25 -04:00
commit bd0b5afc92
5366 changed files with 222812 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class Settings::Billing::TransactionsController < Settings::BaseController
include Authorization
layout 'admin'
before_action :authenticate_user!
def index
transaction = Transaction.new
transaction.account_id = current_account.id
transaction.amount = 5000
transaction.payment_type = :pro_3_months
transaction.provider_type = :btcpay
#transaction.save
@transactions = Transaction.where(account: current_account)
end
end