Releases: fortrabbit/slimcontroller
Releases · fortrabbit/slimcontroller
0.4.1
- Fixed issue where multiple routes pointing to the same controller method would cause urlFor to not work (#25)
- Fixed issue with routing not working for routes defined using the older routing syntax (#26)
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'
))
0.4.0-RC1
Release candidate 1 for v0.4.0 of slimcontroller.
- New syntax for defining routes (#19)
0.3.1
- Updated slim dependency (#21)
0.3.0
- Routes are now named by default (#16)
- Performance improvements (#18)