Open aledalgrande opened 8 years ago
I have a turbolink-enabled link that, on condition, should be redirected to a fully reloaded page (different layout). When I do:
redirect_to path, turbolinks: false
the request is still a XHR request though and it doesn't like the response which is a full HTML document (the layout gets corrupted). Bug?
I am having the exact same issue. For me it is when my users sessions is destroyed and they are redirected to the sign in which has a different layout. Using devise btw if that matters.
I have a turbolink-enabled link that, on condition, should be redirected to a fully reloaded page (different layout). When I do:
the request is still a XHR request though and it doesn't like the response which is a full HTML document (the layout gets corrupted). Bug?