Fix bug where old p2p method of getting there by npo doesn't work

This commit is contained in:
Eric Schultz 2018-11-12 11:25:43 -06:00
parent cc225ba6fd
commit 1c1e62d091

View file

@ -117,12 +117,14 @@ class CampaignsController < ApplicationController
if current_user
@profile = current_user.profile
if (@parent_campaign)
@child_campaign = Campaign.where(
profile_id: @profile.id,
parent_campaign_id: @parent_campaign.id
).first
end
end
end
private