diff --git a/app/assets/javascripts/shortcuts.js.coffee b/app/assets/javascripts/shortcuts.js.coffee
index 1b23fa9eae82901fc935b3da1fd66808618d4700..f3d66004138cd98d64642e74757fb0d1b20e377d 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