about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-09 12:09:04 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:23 -0500
commit0782dc390525c5d1db66ea53e1208689c7d0bfcb (patch)
treec6068c14c3f70e9e26a6575572767c4fbbf35172 /app/controllers
parentcb311a274ce32381dbd16fa03874d8dad133d00b (diff)
Drop remaining OStatus and PuSH code, as well as related database items.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin/subscriptions_controller.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/controllers/admin/subscriptions_controller.rb b/app/controllers/admin/subscriptions_controller.rb
deleted file mode 100644
index 40500ef43..000000000
--- a/app/controllers/admin/subscriptions_controller.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-module Admin
-  class SubscriptionsController < BaseController
-    def index
-      authorize :subscription, :index?
-      @subscriptions = ordered_subscriptions.page(requested_page)
-    end
-
-    private
-
-    def ordered_subscriptions
-      Subscription.order(id: :desc).includes(:account)
-    end
-
-    def requested_page
-      params[:page].to_i
-    end
-  end
-end