This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import falcon | |
| import falcon.testing as testing | |
| QUOTE = (u"\nI've always been more interested in\n" | |
| u'the future than in the past.\n' | |
| u'\n' | |
| u' ~ Grace Hopper\n\n') | |
| class ThingsResource(object): | |
| def on_get(self, req, resp): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Nette\Application\Routers\RouteList, | |
| Nette\Application\Routers\Route, | |
| Nette\Application\Routers\SimpleRouter; | |
| use Nette\Utils\Strings; | |
| /** | |
| * Router factory. |