summaryrefslogtreecommitdiff
path: root/app/views/layouts/_init_auto_complete.html.haml
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-21 18:55:39 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-21 18:55:39 +0100
commiteaa99478a7612405bc93941ea69b93e7e776ca56 (patch)
treed556a87cce9426481f08ef55abbd08d5d40fb8ca /app/views/layouts/_init_auto_complete.html.haml
parent8f01190eb5ec0f40d6f8874a3f3c79637000a709 (diff)
downloadgitlab-ce-eaa99478a7612405bc93941ea69b93e7e776ca56.tar.gz
Up API version to v3
Diffstat (limited to 'app/views/layouts/_init_auto_complete.html.haml')
-rw-r--r--app/views/layouts/_init_auto_complete.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_init_auto_complete.html.haml b/app/views/layouts/_init_auto_complete.html.haml
index 800dfbe8859..8f8c7d8885e 100644
--- a/app/views/layouts/_init_auto_complete.html.haml
+++ b/app/views/layouts/_init_auto_complete.html.haml
@@ -1,6 +1,6 @@
:javascript
$(function() {
- GitLab.GfmAutoComplete.Members.url = "#{ "/api/v2/projects/#{@project.id}/members" if @project }";
+ GitLab.GfmAutoComplete.Members.url = "#{ "/api/v3/projects/#{@project.id}/members" if @project }";
GitLab.GfmAutoComplete.Members.params.private_token = "#{current_user.private_token}";
GitLab.GfmAutoComplete.Emoji.data = #{raw emoji_autocomplete_source};