mirror of
https://github.com/docusealco/docuseal.git
synced 2026-06-23 04:10:11 +00:00
12 lines
271 B
Ruby
12 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TestingApiSettingsController < ApplicationController
|
|
def index
|
|
authorize!(:manage, current_user.access_token)
|
|
|
|
@webhook_url = current_account.webhook_urls.first_or_initialize
|
|
|
|
authorize!(:manage, @webhook_url)
|
|
end
|
|
end
|