summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/routes.php b/config/routes.php
index 5296dbc7..2267bc88 100644
--- a/config/routes.php
+++ b/config/routes.php
@@ -1,14 +1,7 @@
<?php
use FastRoute\RouteCollector;
-use Psr\Http\Message\ServerRequestInterface;
/** @var RouteCollector $route */
-/** Demo route endpoint, TODO: Remove */
-$route->addRoute('GET', '/hello/{name}', function ($request) {
- /** @var ServerRequestInterface $request */
- $name = $request->getAttribute('name');
-
- return response(sprintf('Hello %s!', htmlspecialchars($name)));
-});
+$route->get('/credits', 'CreditsController@index');