mirror of
https://github.com/dolphin-emu/redmine_webhook.git
synced 2026-01-31 01:15:19 +01:00
enable api access
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class WebhookSettingsController < ApplicationController
|
||||
before_action :find_project, :authorize
|
||||
accept_api_auth :create, :update, :destroy
|
||||
|
||||
def create
|
||||
webhook = Webhook.new(:project_id => @project.id)
|
||||
|
||||
Reference in New Issue
Block a user