Files

12 lines
271 B
Ruby
Raw Permalink Normal View History

2024-01-20 23:53:14 +02:00
# frozen_string_literal: true
class TestingApiSettingsController < ApplicationController
def index
authorize!(:manage, current_user.access_token)
@webhook_url = current_account.webhook_urls.first_or_initialize
2024-01-20 23:53:14 +02:00
authorize!(:manage, @webhook_url)
2024-01-20 23:53:14 +02:00
end
end