Commit Graph

3 Commits (master)

Author SHA1 Message Date
Tobias Peters f7a90694bd unit test and adjustments for using optional parameter with a trailing slash 9 years ago
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 e751d71494 Fix surrounded optional parameter 10 years ago