searching for this question, I found this question/answer: Kohana 3 get current controller/action/arguments
I recently switched to Kohana after using codeigniter for a while. In Codeigniter, you could just do (in a Controller):
public function action_nameAction($param1, $param2 = null, ...){
$something = $param1;
}
by calling www.mysite.com/controllerName/param1/param2
I really liked this approach and don't really understand the point of Kohana's approach with redefining the routes...
If there is a solution to have the Codeigniter approach in Kohana, I would like some clues on how to implement it. If not, please could someone explain me the interest of having to redefine new routes for every case that doesnt fall into the default route...