Commit 3602aa7d authored by Alfredo Sumaran's avatar Alfredo Sumaran

Use Turbolinks to redirect

parent 50c9c6a8
...@@ -96,7 +96,7 @@ class @Todos ...@@ -96,7 +96,7 @@ class @Todos
page: currPages - 1 page: currPages - 1
url = gl.utils.mergeUrlParams(pageParams, url) url = gl.utils.mergeUrlParams(pageParams, url)
location.replace url Turbolinks.visit(url)
goToTodoUrl: (e)-> goToTodoUrl: (e)->
todoLink = $(this).data('url') todoLink = $(this).data('url')
......
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