indent
This commit is contained in:
parent
843cf43b54
commit
44d90ab942
|
@ -5,4 +5,3 @@ use Gist\Application;
|
||||||
$app = Application::getInstance();
|
$app = Application::getInstance();
|
||||||
|
|
||||||
$app['root_path'] = __DIR__ . '/../..';
|
$app['root_path'] = __DIR__ . '/../..';
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,3 @@ $app->error(function (Exception $e, $code) use ($app) {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,6 @@ $app['routing.loader'] = function ($app) {
|
||||||
|
|
||||||
$app['routes'] = $app->extend('routes', function ($routes, $app) {
|
$app['routes'] = $app->extend('routes', function ($routes, $app) {
|
||||||
$routes->addCollection($app['routing.loader']->load($app['routing.file']));
|
$routes->addCollection($app['routing.loader']->load($app['routing.file']));
|
||||||
|
|
||||||
return $routes;
|
return $routes;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,3 @@ $app->extend('twig', function ($twig, $app) {
|
||||||
|
|
||||||
return $twig;
|
return $twig;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,6 @@ use GitWrapper\GitWrapper;
|
||||||
|
|
||||||
$app['git'] = function ($app) {
|
$app['git'] = function ($app) {
|
||||||
echo "ok";
|
echo "ok";
|
||||||
|
|
||||||
return new GitWrapper();
|
return new GitWrapper();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue