12 lines
		
	
	
	
		
			507 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			507 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								# frozen_string_literal: true
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
							 | 
						||
| 
								 | 
							
								json.extract! nonprofit, :id, :name, #basics
							 | 
						||
| 
								 | 
							
								                :brand_color, :brand_font, :tagline, #brand
							 | 
						||
| 
								 | 
							
								                :zip_code, :state_code, :city, :latitude, :longitude, #location
							 | 
						||
| 
								 | 
							
								                :slug, :state_code_slug, :city_slug, #slugs
							 | 
						||
| 
								 | 
							
								                :no_anon #options
							 | 
						||
| 
								 | 
							
								json.url nonprofit_path(nonprofit)
							 | 
						||
| 
								 | 
							
								json.logo do
							 | 
						||
| 
								 | 
							
								    json.normal url_for(nonprofit.logo_by_size(:normal))
							 | 
						||
| 
								 | 
							
								end
							 |