Add option to block reports from domain (#8830)

This commit is contained in:
Eugen Rochko
2018-10-20 08:02:44 +02:00
committed by GitHub
parent d5bfba3262
commit fd5285658f
12 changed files with 54 additions and 23 deletions

View File

@ -46,7 +46,7 @@ module Admin
end
def resource_params
params.require(:domain_block).permit(:domain, :severity, :reject_media, :retroactive)
params.require(:domain_block).permit(:domain, :severity, :reject_media, :reject_reports, :retroactive)
end
def retroactive_unblock?