Is there any alternative for getting uri with changed parameter as $this->request->uri($params) in KO 3.2?
Example:
//Kohana 3.1 ; current uri = articles/show/10 (<controller>/<action>/<id>)
$this->request->uri(array('id' => 11)); // return 'articles/show/11'
Thanks
Since 3.2 there is no “short” way for this, because now
$this->request->uri()returns current URI. Use$this->request->route()->uri()with all params you need:Of course, you can create a special method for this (something like
$this->request->old_uri(array('id' => 11))).Here is an issue link for that API change.