This commit is contained in:
		
					parent
					
						
							
								a91d968cab
							
						
					
				
			
			
				commit
				
					
						42b8220632
					
				
			
		
					 7 changed files with 46 additions and 14 deletions
				
			
		|  | @ -17,6 +17,9 @@ class Api::V1::ReportsController < Api::BaseController | |||
|       status_ids: reported_status_ids, | ||||
|       comment: report_params[:comment] | ||||
|     ) | ||||
| 
 | ||||
|     User.admins.includes(:account).each { |u| AdminMailer.new_report(u.account, @report).deliver_later } | ||||
| 
 | ||||
|     render :show | ||||
|   end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue