From dc81e1b7ab4d2771eff9772d09e9c45c4c138aed Mon Sep 17 00:00:00 2001 From: Rob Meijer Date: Sat, 2 Jun 2012 22:13:09 +0100 Subject: [PATCH] Add a note about registering a named route that points to a controller action. --- laravel/documentation/routing.md | 4 ++++ 1 file changed, 4 insertions(+) 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