You need to use the set wildcard patterns for routes in Laravel 3...
Forcing a URI segment to be any digit:
Route::get('user/(:num)', function($id)
{
//
});
Allowing a URI segment to be any alpha-numeric string:
Route::get('post/(:any)', function($title)
{
//
});
Catching the remaining URI without limitations:
Route::get('files/(:all)', function($path)
{
//
});
Allowing a URI segment to be optional:
Route::get('page/(:any?)', function($page = 'index')
{
//
});