X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=d0c5ac60cfa78eb67c78a3b0ebc17079c079f2cd;hb=0cf76ccb4736473a958d9fd36ed914e2d25d594a;hp=220847f5ec4f3469af3e2eb32e08b5f6cc2c4ab9;hpb=d8030c8155ee4c20573848b2444f6df0b65d1662;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 220847f5..d0c5ac60 100644 --- a/index.php +++ b/index.php @@ -128,6 +128,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');