@ -2,11 +2,12 @@ module Webhooks
module Outgoing
class AdminController < ::ApplicationController
layout 'admin'
menu_item :plugin_webhooks
before_action :require_admin
before_action :find_webhook, only: [:show, :edit, :update, :destroy]
def index
@webhooks = webhook_class.all
end
@ -81,4 +82,4 @@ module Webhooks