Browse Source

Added Routing Wildcard '(:all)' to Documentation

Christoph Menke 12 years ago
parent
commit
20c696d4ae
1 changed files with 7 additions and 0 deletions
  1. 7 0
      laravel/documentation/routing.md

+ 7 - 0
laravel/documentation/routing.md

@@ -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')