Commit 3668cdf5 authored by Jim's avatar Jim

Update api.js.coffee

CoffeeScript doesn't like that
parent 995e656a
...@@ -50,5 +50,5 @@ ...@@ -50,5 +50,5 @@
callback(users) callback(users)
buildUrl: (url) -> 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) return url.replace(':version', gon.api_version)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment