diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-13 16:28:16 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-13 16:28:16 -0500 |
commit | d139276a3757d3df45232b557e1bb388d21268d0 (patch) | |
tree | ba4bdcf4f663749847b68e59bf18702cc6a1f6c1 /lib/api/entities.rb | |
parent | 99393cde942841e1bee656cebf8e16a25d1300cb (diff) | |
parent | 0e344aa2299d2f6911282de5d4808c70d658d372 (diff) | |
download | gitlab-ce-d139276a3757d3df45232b557e1bb388d21268d0.tar.gz |
Merge branch 'master' into 8-4-stable
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 26e7c956e8f..e3bc3316ce5 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -71,6 +71,7 @@ module API expose :avatar_url expose :star_count, :forks_count expose :open_issues_count, if: lambda { |project, options| project.issues_enabled? && project.default_issues_tracker? } + expose :runners_token, if: lambda { |_project, options| options[:user_can_admin_project] } end class ProjectMember < UserBasic |