Merge pull request #346 from Korri/Korri-patch-removed-duplicate-routing

Removed duplicate routing setup code
This commit is contained in:
Alex Bilbie 2015-08-21 08:59:35 +01:00
commit abf66ef9c8

View File

@ -9,11 +9,6 @@ use RelationalExample\Storage;
include __DIR__.'/vendor/autoload.php';
// Routing setup
$request = (new Request())->createFromGlobals();
$router = new \Orno\Route\RouteCollection();
$router->setStrategy(\Orno\Route\RouteStrategyInterface::RESTFUL_STRATEGY);
// Set up the OAuth 2.0 resource server
$sessionStorage = new Storage\SessionStorage();
$accessTokenStorage = new Storage\AccessTokenStorage();