]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/front/controller/visitor/OpenSearchController.php
Process main page (linklist) through Slim controller
[github/shaarli/Shaarli.git] / application / front / controller / visitor / OpenSearchController.php
index 0fd68db66ac55ce0b2e69361afe3aa1038c3e23e..36d60acf12639ba8dbd2d75e5ba74c3af5338c60 100644 (file)
@@ -4,6 +4,7 @@ declare(strict_types=1);
 
 namespace Shaarli\Front\Controller\Visitor;
 
+use Shaarli\Render\TemplatePage;
 use Slim\Http\Request;
 use Slim\Http\Response;
 
@@ -21,6 +22,6 @@ class OpenSearchController extends ShaarliVisitorController
 
         $this->assignView('serverurl', index_url($this->container->environment));
 
-        return $response->write($this->render('opensearch'));
+        return $response->write($this->render(TemplatePage::OPEN_SEARCH));
     }
 }