summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/shortcuts.js.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/shortcuts.js.coffee b/app/assets/javascripts/shortcuts.js.coffee
index 945dce36675..1b23fa9eae8 100644
--- a/app/assets/javascripts/shortcuts.js.coffee
+++ b/app/assets/javascripts/shortcuts.js.coffee
@@ -21,8 +21,7 @@ class @Shortcuts
$modal.modal('toggle')
return
- url = '/help/shortcuts'
- url = gon.relative_url_root + url if gon.relative_url_root?
+ url = gon.relative_url_root + gon.shortcuts_path if gon.relative_url_root?
$.ajax(
url: url,
dataType: 'script',