Skip to content

Commit

Permalink
Added resource to Routing section in helpers.md
Browse files Browse the repository at this point in the history
The `resource` function is the only remaining Routing helper that isn't documented.
  • Loading branch information
conorsmith committed Mar 4, 2015
1 parent 2a88b15 commit a3c884d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ Register a new PATCH route with the router.
Register a new DELETE route with the router.

delete('foo/bar', 'FooController@action');

### resource

Register a new RESTful resource route with the router.

resource('foo', 'FooController');

<a name="strings"></a>
## Strings
Expand Down

0 comments on commit a3c884d

Please sign in to comment.