diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-30 20:24:37 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-30 20:24:37 -0500 |
commit | a5ce8eddb414a1f77136a30598744cb99846182f (patch) | |
tree | 3c527233a0961c8d8c04cd2c0dd81cfa32ee6947 /app/controllers | |
parent | 85aec06845cc834418ef6337d5cb1e79eb448b95 (diff) |
use a non-tabular domain policy list layout & paginate
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/domain_policy_controller.rb | 2 |
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 |