Commit dc81e1b7 authored by Rob Meijer's avatar Rob Meijer

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

parent 4b49ae42
......@@ -307,6 +307,10 @@ This routing convention may not be desirable for every situation, so you may als
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment