diff --git a/laravel/documentation/routing.md b/laravel/documentation/routing.md index fc607cb9..18c90671 100644 --- a/laravel/documentation/routing.md +++ b/laravel/documentation/routing.md @@ -307,6 +307,10 @@ #### Registering a filtered route that points to a controller action: Route::get('welcome', array('after' => 'log', 'uses' => 'home@index')); +#### Registering a named route that points to a controller action: + + Route::get('welcome', array('as' => 'home.welcome', 'uses' => 'home@index')); + ## CLI Route Testing