Route::set('users', '(users(/<id>))')
->defaults(array(
'controller' => 'users,
'action' => 'personalPage',
));
class Controller_Index_Account extends Controller_Index
{
public function action_index()
{
$user_id = $this->request->param('id');
...
}
}
Route::set('index_account', 'id(/<id>)', ['action' => '(index)',])->
defaults([
'directory' => 'index',
'controller' => 'account',
'action' => 'index',
]);