1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/donations_controller.rb

6 lines
185 B
Ruby

class DonationsController < ApplicationController
def create
@donation = Donation.create_from_charge(current_user, params[:donation])
render text: @donation.inspect
end
end