Commit Graph

2 Commits (master)

Author SHA1 Message Date
Denis Sokolov 824d69fd08 Remove global state, return rules directly
This breaks backwards compatibility.

This removes .routes because it's not intuitive what the result value
of that must be, and users are free to .map over .route themselves.

Also, .routes was never tested.

Fixes #14.
9 years ago
Johannes J. Schmidt b8e5739e1a Completely new routing engine. 10 years ago