Fix “Remove all followers from the selected domains” being more destructive than it claims (#23805)

This commit is contained in:
Claire
2023-03-03 20:25:15 +01:00
committed by GitHub
parent 3a6451c867
commit c2a046ded1
5 changed files with 40 additions and 10 deletions

View File

@ -60,8 +60,8 @@ class RelationshipsController < ApplicationController
'unfollow'
elsif params[:remove_from_followers]
'remove_from_followers'
elsif params[:block_domains]
'block_domains'
elsif params[:block_domains] || params[:remove_domains_from_followers]
'remove_domains_from_followers'
end
end