about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-30 18:39:26 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-30 18:39:26 -0500
commit85aec06845cc834418ef6337d5cb1e79eb448b95 (patch)
tree18ef5a1120f74d9e2a8d2b620f79c550f156e6ef
parentccb84572d6300c0ed69a59653b98ced89582452a (diff)
order policy list by most recently changed
-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 28e676f5e..4bb0bf6bd 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
+    @domain_policies = DomainBlock.all.reorder('updated_at DESC')
   end
 
   private