about summary refs log tree commit diff
path: root/app/controllers/about_controller.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-06-28 06:19:52 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:41:03 -0500
commit25689e5b3992ac1759f7a7f09fe54f7caf1176ae (patch)
tree5d207657bad4ecf26ca25dfe29956e1e0ebb4543 /app/controllers/about_controller.rb
parent0f26894b065fcb40606bee1faaacd4cdaf8b3cd5 (diff)
[Privacy] Let admins exclude private domains from the public allowlist
Diffstat (limited to 'app/controllers/about_controller.rb')
-rw-r--r--app/controllers/about_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 218dcb99e..1f8f9ff58 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -21,7 +21,7 @@ class AboutController < ApplicationController
     @contents          = toc_generator.html
     @table_of_contents = toc_generator.toc
     @blocks            = DomainBlock.with_user_facing_limitations.by_severity if display_blocks?
-    @allows            = DomainAllow.all if display_allows?
+    @allows            = DomainAllow.where(hidden: false) if display_allows?
   end
 
   def terms; end