Initial PHP project structure
This commit is contained in:
7
src/routes.php
Normal file
7
src/routes.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Psr\Http\Message\ResponseInterface as Response;
|
||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
||||
|
||||
// index GET route - this page should welcome the user and direct them to the available actions
|
||||
$app->get('/', '\\BitGoblin\\Overseer\\Controllers\\HomeController:getIndex')->setName('index');
|
Reference in New Issue
Block a user