diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-13 18:53:06 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:26 -0200 |
commit | 9b288238549dac5b59fd467f6ee1fdc53b6c783e (patch) | |
tree | b858ce511d479f1d53873032dc8dc0094bf10d67 /lib/api/labels.rb | |
parent | 68f30b2fff362805568588f416709e7000d75ce3 (diff) | |
download | gitlab-ce-9b288238549dac5b59fd467f6ee1fdc53b6c783e.tar.gz |
List all available labels to the project on the labels API
Diffstat (limited to 'lib/api/labels.rb')
-rw-r--r-- | lib/api/labels.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/labels.rb b/lib/api/labels.rb index c806829d69e..642e6345b9e 100644 --- a/lib/api/labels.rb +++ b/lib/api/labels.rb @@ -11,7 +11,7 @@ module API # Example Request: # GET /projects/:id/labels get ':id/labels' do - present user_project.labels, with: Entities::Label, current_user: current_user + present available_labels, with: Entities::Label, current_user: current_user end # Creates a new label |