Merge pull request #4297 from jdurand/patch-1

Update api.js.coffee
This commit is contained in:
Dmitriy Zaporozhets 2013-07-11 09:39:37 -07:00
commit 11703e8ece

View file

@ -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)