diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-06-28 06:19:52 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:41:03 -0500 |
commit | 25689e5b3992ac1759f7a7f09fe54f7caf1176ae (patch) | |
tree | 5d207657bad4ecf26ca25dfe29956e1e0ebb4543 /app/controllers/admin | |
parent | 0f26894b065fcb40606bee1faaacd4cdaf8b3cd5 (diff) |
[Privacy] Let admins exclude private domains from the public allowlist
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/domain_allows_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/domain_allows_controller.rb b/app/controllers/admin/domain_allows_controller.rb index 31be1978b..95d9a31fb 100644 --- a/app/controllers/admin/domain_allows_controller.rb +++ b/app/controllers/admin/domain_allows_controller.rb @@ -35,6 +35,6 @@ class Admin::DomainAllowsController < Admin::BaseController end def resource_params - params.require(:domain_allow).permit(:domain) + params.require(:domain_allow).permit(:domain, :hidden) end end |