Commit 565633b4 authored by Kerri Miller's avatar Kerri Miller

Apply 1 suggestion(s) to 1 file(s)

parent 2f81d000
......@@ -282,7 +282,7 @@ module MergeRequests
# on multiple attributes, but for now limit to only single attribute
# updates.
#
return unless params.keys.length == 1
return unless params.one?
attempt_specialized_update_services(merge_request, params.each_key.first.to_sym)
end
......
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