fix: intellij is dumb with renaming files smh

This commit is contained in:
TheClashFruit 2023-11-18 13:30:43 +01:00
parent 6e236213f1
commit caa89e969a
Signed by: TheClashFruit
GPG key ID: 09BB24C34C2F3204

View file

@ -52,12 +52,12 @@
echo $twig->render('rules.twig');
});
$router->get('/map.js', function() {
$router->get('/map', function() {
global $twig;
$twig->addGlobal('pageUri', '/map.js');
$twig->addGlobal('pageUri', '/map');
echo $twig->render('map.js.twig');
echo $twig->render('map.twig');
});
$router->get('/profile', function() {