honestbuildings/tiny-api — pull request #6 by feedthefire (2014-05-15 21:06:53+00:00)
Title: Feature router

CHANGELOG
* moved all routing logic in dispatcher.php to a new tiny_Router class
* added a test for route parser
* added better error handling and some error output normalization
* all errors are output as json now
* changed tiny::getRequestUrl() to return the absolute url of the request
* added tiny::getRequestUri() which actually returns the uri