diff options
author | Rebeca Méndez <scullymb@gmail.com> | 2016-08-29 17:23:40 +0200 |
---|---|---|
committer | Rebeca Méndez <scullymb@gmail.com> | 2016-11-12 10:00:39 +0100 |
commit | 5c966f70fb218d6f4de0f888733604293f36c33e (patch) | |
tree | ecb15585624aaa4c266345e5e65d447f474b817a /lib/api/entities.rb | |
parent | 6eeff67c6e03233d4480a55d05d4e0f1a88aef4c (diff) | |
download | gitlab-ce-5c966f70fb218d6f4de0f888733604293f36c33e.tar.gz |
Issue #4270: Recursive option for files through API
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 1942aeea656..8f1aaaaaaa0 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -159,7 +159,7 @@ module API end class RepoTreeObject < Grape::Entity - expose :id, :name, :type + expose :id, :name, :type, :path expose :mode do |obj, options| filemode = obj.mode.to_s(8) |