module Admin class WebhookEndpointsController < Admin::ApplicationController layout "admin" def index @endpoints = Webhook::Endpoint.includes(:user) .page(params[:page]).per(50) .order(created_at: :desc) end end end