Skip to content
Browse files

update README and instance.php

  • Loading branch information...
1 parent 24d5af5 commit a6c0781247b9ba9e86ba8e170de8a45f675d48c0 @pmjones pmjones committed Nov 17, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 README.md
  2. +1 −1 scripts/instance.php
View
3 README.md
@@ -41,9 +41,10 @@ manually:
```php
<?php
use Aura\Router\Map;
+use Aura\Router\DefinitionFactory;
use Aura\Router\RouteFactory;
-$router_map = new Map(new RouteFactory);
+$router_map = new Map(new DefinitionFactory, new RouteFactory);
```
Adding A Route
View
2 scripts/instance.php
@@ -1,4 +1,4 @@
<?php
namespace Aura\Router;
require_once dirname(__DIR__) . '/src.php';
-return new Map(new RouteFactory);
+return new Map(new DefinitionFactory, new RouteFactory);

0 comments on commit a6c0781

Please sign in to comment.
Something went wrong with that request. Please try again.