jmathai/epiphany — pull request #51 by challgren (2012-10-23 08:07:42+00:00)
Title: Numerous fixes

1: Add clearRoutes() to EpiApi and EpiRoute so routes can be cleared and reset.

2: Adding support to return correct JSON headers when returning a JSON response.

3: Adding support for PHP 5.3.3 to add option JSON_UNESCAPED_UNICODE when json_encoding the response.

4: Fixing a bug where if a user defines a route to go to a class, EpiRoute will return a PHP error if the callback is an array but the method does not exist.