diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2017-02-25 14:14:09 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2017-03-07 13:06:42 +0530 |
commit | dd99622347e639e468b0538ebb57170c1299c858 (patch) | |
tree | 39cd5f1045ed4c3d65395d8878d0fe163f2d8e02 /lib/api/api.rb | |
parent | 6b2d4947a6300f006fd46360161687fd19e18659 (diff) | |
download | gitlab-ce-dd99622347e639e468b0538ebb57170c1299c858.tar.gz |
API routes referencing a specific issue should use the issue `iid`
- As opposed to the issue `id` that was previously being used.
- This brings the API routes closer to the web interface's routes.
- This is specific to API v4.
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r-- | lib/api/api.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb index 8dbe8875fe8..1bf20f76ad6 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -5,6 +5,8 @@ module API version %w(v3 v4), using: :path version 'v3', using: :path do + helpers ::API::V3::Helpers + mount ::API::V3::AwardEmoji mount ::API::V3::Boards mount ::API::V3::Branches |