Fix missing authentication call in filters controller (#12746)
This commit is contained in:
		
							parent
							
								
									83deae5bd7
								
							
						
					
					
						commit
						4729341903
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,10 +1,9 @@
 | 
				
			||||||
# frozen_string_literal: true
 | 
					# frozen_string_literal: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class FiltersController < ApplicationController
 | 
					class FiltersController < ApplicationController
 | 
				
			||||||
  include Authorization
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  layout 'admin'
 | 
					  layout 'admin'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  before_action :authenticate_user!
 | 
				
			||||||
  before_action :set_filters, only: :index
 | 
					  before_action :set_filters, only: :index
 | 
				
			||||||
  before_action :set_filter, only: [:edit, :update, :destroy]
 | 
					  before_action :set_filter, only: [:edit, :update, :destroy]
 | 
				
			||||||
  before_action :set_body_classes
 | 
					  before_action :set_body_classes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue