Merge pull request #750 from robmeijer/develop
Add a note about registering a named route for a controller action.
This commit is contained in:
commit
5cb8b9bfe9
|
@ -307,6 +307,10 @@ #### Registering a filtered route that points to a controller action:
|
||||||
|
|
||||||
Route::get('welcome', array('after' => 'log', 'uses' => 'home@index'));
|
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>
|
<a name="cli-route-testing"></a>
|
||||||
## CLI Route Testing
|
## CLI Route Testing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue