donphan/app/controllers/admin/pubsubhubbub_controller.rb

12 lines
262 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Admin::PubsubhubbubController < ApplicationController
before_action :require_admin!
layout 'public'
def index
@subscriptions = Subscription.includes(:account).paginate(page: params[:page], per_page: 40)
end
end