Skip to content

Commit

Permalink
Updated readme notes for new 'match'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary committed May 8, 2015
1 parent 33d3259 commit 16f8318
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,8 @@ Set the object handler for string-based route callbacks.
### getUrl([type])
Get's the url to match routes against (will default to get the url on the default routing type as set in the options or by `setType()` or for the type if supplied.)

## match(route, [string|closure]callback)
Attempt to match a one-time route.

### run()
Checks the routes against the url and calls the associated route function. Will also return the matched `Route` object.

0 comments on commit 16f8318

Please sign in to comment.