/ Published in: PHP
URL: http://forum.kohanaphp.com/comments.php?DiscussionID=3377&Focus=24323
Expand |
Embed | Plain Text
$routes = Route::all();
Comments
Subscribe to comments
You need to login to post a comment.
optimiseweb on 09/17/09
1 person have marked this snippet as a favorite
URL: http://forum.kohanaphp.com/comments.php?DiscussionID=3377&Focus=24323
$routes = Route::all();
Subscribe to comments
You need to login to post a comment.
Maybe this works too.
$route = route::get('admin'); $uri = $route->uri($params);
Much simpler,
echo Route::name($this->request->route);