forked from fixin.me/fixin.me
		
	Add sign-out redirection
This commit is contained in:
		
							parent
							
								
									6d71d38680
								
							
						
					
					
						commit
						83335871b4
					
				@ -1,3 +1,9 @@
 | 
				
			|||||||
class ApplicationController < ActionController::Base
 | 
					class ApplicationController < ActionController::Base
 | 
				
			||||||
  before_action :authenticate_user!
 | 
					  before_action :authenticate_user!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  protected
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  def after_sign_out_path_for(scope)
 | 
				
			||||||
 | 
					    new_user_session_path
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user