Skip to content

Conversation

@aalbayaty
Copy link

Changed the headers to support Turbolink. To be more specific on all redirects adding "Turbolinks-Location".

@ghost
Copy link

ghost commented Aug 13, 2020

Any reason this can't be merged?

@dmorganb
Copy link

dmorganb commented Aug 16, 2020

I tried this and it didn't work as I expected when I had an action that returned a RedirectResult. The reason was that the turbolinks location header needs to be added at the last request(i.e. the GET request, after the REDIRECT) I am working on getting this to work

@dmorganb
Copy link

dmorganb commented Aug 20, 2020

In the end, it resulted in something different, so I created my own implementation: https://github.com/dmorganb/TurboLinksCore/blob/master/src/TurbolinksMiddleware.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants