mirror of https://github.com/docusealco/docuseal
				
				
				
			
							parent
							
								
									95f734e4b8
								
							
						
					
					
						commit
						3f506f53b4
					
				@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					# frozen_string_literal: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class EncryptedUserConfigsController < ApplicationController
 | 
				
			||||||
 | 
					  load_and_authorize_resource :encrypted_user_config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  def destroy
 | 
				
			||||||
 | 
					    @encrypted_user_config.destroy!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    redirect_back(fallback_location: root_path)
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue