Add a note about registering a named route that points to a controller action.

This commit is contained in:
Rob Meijer 2012-06-02 22:13:09 +01:00
parent 4b49ae422c
commit dc81e1b7ab
1 changed files with 4 additions and 0 deletions

View File

@ -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'));
<a name="cli-route-testing"></a>
## CLI Route Testing