Files
docuseal/app/controllers/encrypted_user_configs_controller.rb
2024-02-12 12:26:22 +02:00

12 lines
255 B
Ruby

# 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