remove all twig related code
This commit is contained in:
parent
5fba2138e2
commit
6b4ea8a1f4
6 changed files with 4 additions and 483 deletions
|
|
@ -3,11 +3,10 @@
|
|||
namespace App\View;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface as Response;
|
||||
use Slim\Views\Twig;
|
||||
|
||||
class ViewController
|
||||
{
|
||||
public function admin(Response $response, Twig $view): Response
|
||||
public function admin(Response $response): Response
|
||||
{
|
||||
$html = file_get_contents(__DIR__.'/../../views/templates/admin.php', true);
|
||||
$response->getBody()->write($html);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue