forked from CRSS/Website
fix: intellij is dumb with renaming files smh
This commit is contained in:
parent
6e236213f1
commit
caa89e969a
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue