Commit 50b10fca authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1132 from cmenke/master

Add Routing Wildcard '(:all)' to Documentation
parents c17c872b 20c696d4
......@@ -78,6 +78,13 @@ In the following example the first parameter is the route that you're "registeri
//
});
#### 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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment