about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-30 20:24:37 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-30 20:24:37 -0500
commita5ce8eddb414a1f77136a30598744cb99846182f (patch)
tree3c527233a0961c8d8c04cd2c0dd81cfa32ee6947 /app/controllers
parent85aec06845cc834418ef6337d5cb1e79eb448b95 (diff)
use a non-tabular domain policy list layout & paginate
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/domain_policy_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/domain_policy_controller.rb b/app/controllers/domain_policy_controller.rb
index 4bb0bf6bd..f438eff32 100644
--- a/app/controllers/domain_policy_controller.rb
+++ b/app/controllers/domain_policy_controller.rb
@@ -10,7 +10,7 @@ class DomainPolicyController < ApplicationController
 
   def show
     @hide_navbar = true
-    @domain_policies = DomainBlock.all.reorder('updated_at DESC')
+    @domain_policies = DomainBlock.all.reorder('updated_at DESC').page(params[:page])
   end
 
   private