LocaleSwitchRedirector
class LocaleSwitchRedirector implements HTTPMiddleware (View source)
This middleware will safely redirect you to the cms landing page when switching locales, in case you were viewing a url that does not apply to the new locale.
Methods
Details
HTTPResponse
process(HTTPRequest $request, callable $delegate)
Generate response for the given request