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
end
def bulk_destroy
unless params[:ids].present?
head :bad_request
return
end
tag_names = params[:ids] || []
tag_names = params.require(:ids) || []
if tag_names.size > LIMIT
head :bad_request
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