Commit 17ee4e6c authored by Igor Matsko's avatar Igor Matsko

Fix user autocomplete uri

parent 98f77d2e
...@@ -117,5 +117,5 @@ class @UsersSelect ...@@ -117,5 +117,5 @@ class @UsersSelect
callback(users) callback(users)
buildUrl: (url) -> buildUrl: (url) ->
url = gon.relative_url_root + url if gon.relative_url_root? url = gon.relative_url_root.replace(/\/$/, '') + url if gon.relative_url_root?
return url return url
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