Skip to content

Commit

Permalink
aggregate routes at the system level, not the package level
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Nov 17, 2012
1 parent 1cf3182 commit 44f65e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/default.php
Expand Up @@ -10,3 +10,6 @@
* @var Aura\Di\Container $di The DI container for the system.
*
*/
$di->params['Aura\Router\Map']['attach']['/'] = function () use ($system) {
return include "$system/package/Aura.Demo/routes.php";
};

0 comments on commit 44f65e1

Please sign in to comment.