1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Fixed templates

This commit is contained in:
Eldad Fux 2020-10-29 23:08:20 +02:00
parent fc8cbb5088
commit 812ea8015c

View file

@ -413,7 +413,7 @@ App::get('/robots.txt')
->label('scope', 'public')
->label('docs', false)
->action(function ($response) {
$template = new View(__DIR__.'/views/general/robots.phtml');
$template = new View(__DIR__.'/../views/general/robots.phtml');
$response->text($template->render(false));
}, ['response']);
@ -422,7 +422,7 @@ App::get('/humans.txt')
->label('scope', 'public')
->label('docs', false)
->action(function ($response) {
$template = new View(__DIR__.'/views/general/humans.phtml');
$template = new View(__DIR__.'/../views/general/humans.phtml');
$response->text($template->render(false));
}, ['response']);