Commit 973e9e69 authored by Matthias Käppler's avatar Matthias Käppler

Merge branch 'alipniagov-make-grape-definition-compatible-with-ruby3' into 'master'

Make Grape API defintion compatible with Ruby 3 [RUN ALL RSPEC]

See merge request gitlab-org/gitlab!70305
parents fe5062f2 f30515c9
......@@ -10,7 +10,7 @@ module API
# in the future we can only return the filename here without the leading
# directory path.
# https://gitlab.com/gitlab-org/gitlab/issues/34521
expose :filename, &:path
expose :path, as: :filename
expose :id
expose :ref
expose :startline
......
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