akkounts/app/controllers/donations_controller.rb
Sebastian Kippe 5e2d5c3b28
All checks were successful
continuous-integration/drone/push Build is passing
Add paid_at date to donations
2020-12-19 13:28:47 +01:00

10 lines
206 B
Ruby

class DonationsController < ApplicationController
before_action :require_user_signed_in
# GET /donations
# GET /donations.json
def index
@donations = current_user.donations.completed
end
end