Redirect |
(12-06-2018, 12:56 PM)kilishan Wrote: The redirect method returns a RedirectResponse class in CI4, which you must return from your methods. In Home2 it's doing parent::init(), but not returning the RedirectResponse if it is returned.This needs to be made clear in the documentation, as I spent a bit of time as well to figure it out... In the documentation it only mentions that it redirects a response, but doesn't state clearly how you need to handle that response. |
Messages In This Thread |
RE: Redirect - by kilishan - 12-06-2018, 12:56 PM
RE: Redirect - by Inc33 - 04-25-2020, 01:35 AM
RE: Redirect - by oliver - 12-09-2018, 02:43 AM
RE: Redirect - by InsiteFX - 12-09-2018, 09:57 AM
|