kohana/core — comment on commit 7719279b609d056aeb92397ae206f56b491af3bd
File:  line 0
By kemo:

I like the idea of passing a Route object to this method but dislike passing Route parameters through it (3rd param? :S). So:

`$this->redirect(Route::get('foo'), 302);`

should recognize that URI should be extracted from that route. Passing the route vars shouldn't be done through `redirect()` but by adding the `uri()` call to that route, which will return a valid string URI anyways:

`$this->redirect(Route::get('foo')->uri(array('bar' => 'fubar')), 302);`