Update api.js.coffee

CoffeeScript doesn't like that
This commit is contained in:
Jim 2013-06-13 00:44:25 -03:00
parent 995e656add
commit 3668cdf5bb

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)