diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/shortcuts.js.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/shortcuts.js.coffee b/app/assets/javascripts/shortcuts.js.coffee index 1b23fa9eae8..f3d66004138 100644 --- a/app/assets/javascripts/shortcuts.js.coffee +++ b/app/assets/javascripts/shortcuts.js.coffee @@ -21,9 +21,8 @@ class @Shortcuts $modal.modal('toggle') return - url = gon.relative_url_root + gon.shortcuts_path if gon.relative_url_root? $.ajax( - url: url, + url: gon.shortcuts_path, dataType: 'script', success: (e) -> if location and location.length > 0 |