Remove bizarre unneeded profile call
This commit is contained in:
		
							parent
							
								
									c499f8f7a5
								
							
						
					
					
						commit
						25a64abe3f
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -19,7 +19,6 @@ class NonprofitsController < ApplicationController | ||||||
|     @nonprofit = current_nonprofit |     @nonprofit = current_nonprofit | ||||||
|     @url = Format::Url.concat(root_url, @nonprofit.url) |     @url = Format::Url.concat(root_url, @nonprofit.url) | ||||||
|     @supporters = @nonprofit.supporters.not_deleted |     @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') |     events = @nonprofit.events.not_deleted.order('start_datetime desc') | ||||||
|     campaigns = @nonprofit.campaigns.not_deleted.not_a_child.order('created_at desc') |     campaigns = @nonprofit.campaigns.not_deleted.not_a_child.order('created_at desc') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric
						Eric