BigW Consortium Gitlab

Commit d4f6d398 by Alfredo Sumaran

Use gon.shortcuts_path directly

parent 9db02e5b
......@@ -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
......
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