Skip to content

Commit 50b10fc

Browse files
committed
Merge pull request laravel#1132 from cmenke/master
Add Routing Wildcard '(:all)' to Documentation
2 parents c17c872 + 20c696d commit 50b10fc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

laravel/documentation/routing.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ In the following example the first parameter is the route that you're "registeri
7878
//
7979
});
8080

81+
#### Catching the remaining URI without limitations:
82+
83+
Route::get('files/(:all)', function($path)
84+
{
85+
//
86+
});
87+
8188
#### Allowing a URI segment to be optional:
8289

8390
Route::get('page/(:any?)', function($page = 'index')

0 commit comments

Comments
 (0)