Files
docuseal/app/controllers/encrypted_user_configs_controller.rb
T

12 lines
255 B
Ruby
Raw Normal View History

2024-02-12 12:26:22 +02:00
# 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