Browse files


  • Loading branch information...
1 parent 77f8984 commit 2accda994d70062e2d875d7c7f35224fa06b2b0e @mynyml committed Jan 6, 2010
Showing with 3 additions and 6 deletions.
  1. +3 −6
@@ -42,11 +42,8 @@ The four verb methods allow you to define actions that will match a request for
the verb and route signature it defines.
The `#routes` method responds to `#match` and will return the first matching
-route (in order they were defined), and the values of the variables defined in
-the route signature if any (`:year`, `:month`, ...).
-Finally, the route returned is a simple object: for the second route in the
-example above, you get:
+route (in order they were defined). The route returned is a simple object; for
+the second route in the example above, you get:
route.verb #=> :get
route.path #=> '/archives/:year/:month/:day'
@@ -74,7 +71,7 @@ For example, the built-in SimpleEngine allows route variables and extension
handling. Others could add variable conditions (`:id => Integer`), mime-type
restrictions, etc.
-#### Engine Writers
+### Engine Writers
Engines only need to conform to a simple interface. See
lib/simple_router/engines/simple_engine.rb for details.

0 comments on commit 2accda9

Please sign in to comment.