Reputation: 3310
How can I re-rout execution to another controller/action in Kohana PHP framework, w/o redirecting.
Upvotes: 0
Views: 171
Reputation: 11728
if you using default routing you can do this:
Request::factory('welcome/index2')->execute();
General case:
$this->request
->controller('welcome')
->action('index2')
->execute();
Or look at Request->execute()
Upvotes: 1