Hi guys
I'm having the following markup:
<body>
<header id="sq-header" data-turbolinks-permanent></header>
<section data-turbolinks-temporary>
= yield
</section>
And this small piece in a coffeescript file.
'use strict'
$(document).on 'ready', (event) ->
$.get('/templates/header', ( template_data ) ->
$('#sq-header').html(template_data)
)
/templates/header returns a navigation with some links. Unfortunately turbolinks is not working when hitting these links. I think it's because turbolinks isn't enabled on this markup. Is there a way to re-enable it?
Thanks for your reply!
Regards, patrick
Hi guys
I'm having the following markup:
And this small piece in a coffeescript file.
/templates/headerreturns a navigation with some links. Unfortunately turbolinks is not working when hitting these links. I think it's because turbolinks isn't enabled on this markup. Is there a way to re-enable it?Thanks for your reply!
Regards, patrick