0
0
Commit Graph

9 Commits

Author SHA1 Message Date
Gibheer
8ff98ff9dd change route regex to string beginning and end 2013-02-11 19:51:54 +01:00
Gibheer
335dbdd487 catch empty routes
This fixes a bug where an empty route would catch all requests resulting
in all routes found with the empty route.
2013-01-29 15:28:59 +01:00
Gibheer
5057a8df45 kick out Zero::Request from router
To make the router more loose, I replaced the router with the plain
environment. The custom parameters are stored in the same key, so can be
used by the request later.
2012-12-22 16:06:30 +01:00
Gibheer
a95f1436c4 replaced .create with .new on Zero::Request 2012-12-12 18:38:46 +01:00
Gibheer
c6623d47df added custom parameters in the router 2012-11-29 20:02:28 +01:00
Gibheer
839084aa90 added documentation for router 2012-11-27 19:23:07 +01:00
Gibheer
4e72614a28 replace rack router with the zero router 2012-11-16 10:57:14 +01:00
Gibheer
ea20ebf46c use zero/all to require everything 2012-11-08 21:36:56 +01:00
Gibheer
79537632ac added new router to the tools
This small router is intended to work like URLMap, but with the feature
that it can extract variables from routes.
2012-10-13 11:48:11 +02:00