forked from OpenNeo/impress
6 lines
185 B
Ruby
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
|