enable api access

This commit is contained in:
Ryo SUETSUGU
2019-05-02 10:28:15 +09:00
parent fe9e39b6fa
commit 814bbba21d

View File

@@ -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)