diff options
author | Igor Matsko <imatsko@e11nix> | 2015-12-17 15:15:29 +0300 |
---|---|---|
committer | Igor Matsko <imatsko@e11nix> | 2015-12-26 12:12:59 +0300 |
commit | 17ee4e6cc633199d2134b8c75dce2418898c8aec (patch) | |
tree | bbdc1e8b33a36a1ea1817d0ce8e5d04427027451 /app/assets/javascripts/users_select.js.coffee | |
parent | 98f77d2edcfba7783174cd0010a9c9b7fa44aaa5 (diff) |
Fix user autocomplete uri
Diffstat (limited to 'app/assets/javascripts/users_select.js.coffee')
-rw-r--r-- | app/assets/javascripts/users_select.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/users_select.js.coffee b/app/assets/javascripts/users_select.js.coffee index 12abf806bfa..9467011799f 100644 --- a/app/assets/javascripts/users_select.js.coffee +++ b/app/assets/javascripts/users_select.js.coffee @@ -117,5 +117,5 @@ class @UsersSelect callback(users) 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 |