Skip to content
Snippets Groups Projects
Commit 11703e8e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #4297 from jdurand/patch-1

Update api.js.coffee
parents c1d43ed7 3668cdf5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -50,5 +50,5 @@
callback(users)
 
buildUrl: (url) ->
url = gon.relative_url_root + url if gon.relative_url_root.present?
url = gon.relative_url_root + url if gon.relative_url_root?
return url.replace(':version', gon.api_version)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment