X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=a46e32c9ec42215595426b96ff6302fbb0d334c1;hb=e6215a2ad97182efcf88ef532ec6bd65ae35fd19;hp=1b10ee41c8299f196b510bde155d6c09e8bd045b;hpb=034c1ce5269956ec43448f9fd2959e094c861004;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 1b10ee41..a46e32c9 100644 --- a/index.php +++ b/index.php @@ -143,6 +143,8 @@ $app->group('/admin', function () { $this->get('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:index'); $this->post('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:save'); $this->get('/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken'); + $this->get('/server', '\Shaarli\Front\Controller\Admin\ServerController:index'); + $this->get('/clear-cache', '\Shaarli\Front\Controller\Admin\ServerController:clearCache'); $this->get('/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index'); $this->get('/metadata', '\Shaarli\Front\Controller\Admin\MetadataController:ajaxRetrieveTitle'); $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility');