| 
									
										
										
										
											2017-04-12 12:20:44 -04:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Settings | 
					
						
							|  |  |  |   module Exports | 
					
						
							| 
									
										
										
										
											2017-05-30 13:06:01 -04:00
										 |  |  |     class MutedAccountsController < ApplicationController | 
					
						
							|  |  |  |       include ExportControllerConcern | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def index | 
					
						
							|  |  |  |         send_export_file | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-12 12:20:44 -04:00
										 |  |  |       private | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-13 07:02:02 -04:00
										 |  |  |       def export_data | 
					
						
							|  |  |  |         @export.to_muted_accounts_csv | 
					
						
							| 
									
										
										
										
											2017-04-12 12:20:44 -04:00
										 |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |