Add spec coverage and refactor authorize_follows controller (#2505)
This commit is contained in:
		
							parent
							
								
									a23eaf720e
								
							
						
					
					
						commit
						0618f09939
					
				
					 8 changed files with 170 additions and 53 deletions
				
			
		
							
								
								
									
										3
									
								
								app/views/authorize_follows/error.html.haml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								app/views/authorize_follows/error.html.haml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
.form-container
 | 
			
		||||
  .flash-message#error_explanation
 | 
			
		||||
    = t('authorize_follow.error')
 | 
			
		||||
		Reference in a new issue