about summary refs log tree commit diff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:24:49 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:24:49 +0100
commit3ba6531611458dfe6c6538c27eec394e92d0fd75 (patch)
tree5ed151231ae2873ad0d890a1e56831d47abfb5d1 /app/controllers/admin
parent50638174c89a1a953359781e7c0749aed0ef7b2d (diff)
Fix setting of confirmed=true on successful confirmation
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/pubsubhubbub_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/pubsubhubbub_controller.rb b/app/controllers/admin/pubsubhubbub_controller.rb
index fae05bf9d..7e6bc75ea 100644
--- a/app/controllers/admin/pubsubhubbub_controller.rb
+++ b/app/controllers/admin/pubsubhubbub_controller.rb
@@ -6,6 +6,6 @@ class Admin::PubsubhubbubController < ApplicationController
   layout 'public'
 
   def index
-    @subscriptions = Subscription.includes(:account).paginate(page: params[:page], per_page: 40)
+    @subscriptions = Subscription.order('id desc').includes(:account).paginate(page: params[:page], per_page: 40)
   end
 end