From 16f83189f109ec4ddb8ba46f82000ab7846b8c1c Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 8 May 2015 14:13:57 +0100 Subject: [PATCH] Updated readme notes for new 'match' --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a8fd4ce..1e2f22b 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file