Update api.js.coffee
CoffeeScript doesn't like that
This commit is contained in:
parent
995e656add
commit
3668cdf5bb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue