Fix bug in refunds_controller

This commit is contained in:
Eric Schultz 2021-02-11 18:31:11 -06:00 committed by Eric Schultz
parent 3eb8b958f0
commit a38937cadb

View file

@ -19,7 +19,7 @@ module Nonprofits
def index def index
charge = current_nonprofit.charges.find(params[:charge_id]) charge = current_nonprofit.charges.find(params[:charge_id])
@refunds = charge.refunds @refunds = charge.refunds
render locals: {refunds: @refund}} render locals: {refunds: @refund}
end end
private private