Add simple admin overview of PuSH subscriptions
This commit is contained in:
parent
7e5e33df48
commit
27fc49d745
9 changed files with 97 additions and 0 deletions
11
app/controllers/admin/pubsubhubbub_controller.rb
Normal file
11
app/controllers/admin/pubsubhubbub_controller.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue