This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add to use-statements | |
use Symfony\Component\HttpFoundation\Response; | |
// [...] Your application code | |
// Action to return XML from Twig-Template | |
$app->get( | |
'/sitemap.xml', | |
function () use ($app) { |