auraphp/Aura.Router — pull request #47 by pmjones (2014-06-30 02:21:50+00:00)
Title: BC break: remove 'controller' from route modification

This break makes Action-Domain-Responder the primary idiom, instead of Model-View-Controller. You can regain the old MVC route modifications with this as the setRouteCallable():
```php
setRouteCallable(function ($route) {
$action = $route->name;
if (! $action) {
return;
}

$controller = null;
$pos = strrpos($action, '.');
if ($pos !== false) {
$controller = substr($action, 0, $pos);
$action = substr($action, $pos + 1);
}

if (! isset($route->values['controller'])) {
$route->addValues(array('controller' => $controller));
}

if (! isset($route->values['action'])) {
$route->addValues(array('action' => $action));
}
});
?>