This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
0.4.0
- New syntax for defining routes (#23)
Example
$app->addRoutes(array(
'/' => 'Home:index'
'/posts' => array('get' => 'Posts:index',
'post' => array('Posts:create', function() { echo 'Middleware!'; })),
'/posts:id' => 'Posts:show'
))