Skip to content
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.

Redirect and reload full page #657

Open
aledalgrande opened this issue Jan 24, 2016 · 1 comment
Open

Redirect and reload full page #657

aledalgrande opened this issue Jan 24, 2016 · 1 comment

Comments

@aledalgrande
Copy link

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?

@ericenns
Copy link

ericenns commented Feb 9, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants