redirect() |
I can't get redirect() to work. Is this yet to be worked on? I get a 'Unable to locate a valid route' error.
The route works form the browser's command box. Code: <?php namespace App\Controllers;
Simpler is always better
Oops, someone else has the same problem. I guess it isn't fixed yet. Sorry.
Simpler is always better
No one entered a bug report so it slipped my mind. Will work on it tonight, though. In the meantime - try it without the leading '/' and you should be fine.
Just added some more tests and everything seems to be working as expected. There was a fix directly related to what you're seeing that was added a couple of days ago. Please pull down the latest version of the CI4 and try again.
|
Welcome Guest, Not a member yet? Register Sign In |