Skip to content
Snippets Groups Projects
Commit d4f6d398 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Use gon.shortcuts_path directly

parent 9db02e5b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment