cleanup(cards) cleanup nonprofits/cards_controller

This commit is contained in:
Eric Schultz 2019-10-29 17:00:11 -05:00
parent 772332a5cb
commit 6c9dc8b150

View file

@ -29,7 +29,7 @@ module Nonprofits
end end
def required_params def required_params
params.require(:nonprofit_id, card: [:name, :stripe_card_token, :stripe_card_id, :holder_id, :holder_type] ) params.require(:nonprofit_id, card: [:name, :stripe_card_token, :stripe_card_id, :holder_id, :holder_type])
end end
end end
end end