Is there a simpler way to redirect using a route while adding paramters in Kohana?
- by Darryl Hein
I find myself doing the following or similar quite often:
Request::instance()->redirect(Route::get('route')->uri(array('action' => 'action')));
Or:
Request::instance()->redirect(Route::get(Route::name(Request::instance()->route))->uri(array('action' => 'action')));
I'm wondering if there's any short, easier, simpler way…