Fix bug where campaign activites weren't properly found

This commit is contained in:
Eric Schultz 2018-11-21 13:47:27 -06:00
parent bad7d5ba79
commit f75ffcf09d

View file

@ -48,7 +48,8 @@ class CampaignsController < ApplicationController
end end
def activities def activities
render json: QueryDonations.for_campaign_activities(params[:id]) @campaign = current_campaign
render json: QueryDonations.for_campaign_activities(@campaign.id)
end end
def create def create