This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/controllers/admin/pubsubhubbub_controller.rb

12 lines
278 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Admin::PubsubhubbubController < ApplicationController
before_action :require_admin!
2016-12-13 12:42:10 +00:00
layout 'admin'
def index
@subscriptions = Subscription.order('id desc').includes(:account).paginate(page: params[:page], per_page: 40)
end
end