diff --git a/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb b/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb index 4338babf67..c692241574 100644 --- a/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb +++ b/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb @@ -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] + menu_item :plugin_webhooks + def index @webhooks = webhook_class.all end @@ -81,4 +82,4 @@ module Webhooks end end end -end \ No newline at end of file +end