Remove bizarre unneeded profile call

This commit is contained in:
Eric 2020-05-14 14:32:49 -05:00
parent c499f8f7a5
commit 25a64abe3f

View file

@ -19,7 +19,6 @@ class NonprofitsController < ApplicationController
@nonprofit = current_nonprofit
@url = Format::Url.concat(root_url, @nonprofit.url)
@supporters = @nonprofit.supporters.not_deleted
@profiles = @nonprofit.profiles.order('total_raised DESC').limit(5).includes(:user).uniq
events = @nonprofit.events.not_deleted.order('start_datetime desc')
campaigns = @nonprofit.campaigns.not_deleted.not_a_child.order('created_at desc')