Commit 7343c4f2 authored by Thong Kuah's avatar Thong Kuah

Merge branch...

Merge branch '76926-follow-up-from-resolve-multi-selection-for-delete-on-registry-page' into 'master'

Simplify tag controller param handling

See merge request gitlab-org/gitlab!24840
parents db31ee1a cd088801
...@@ -31,12 +31,7 @@ module Projects ...@@ -31,12 +31,7 @@ module Projects
end end
def bulk_destroy def bulk_destroy
unless params[:ids].present? tag_names = params.require(:ids) || []
head :bad_request
return
end
tag_names = params[:ids] || []
if tag_names.size > LIMIT if tag_names.size > LIMIT
head :bad_request head :bad_request
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment