From: ArthurHoaro Date: Mon, 15 Apr 2019 15:45:58 +0000 (+0200) Subject: Hotfix: History controller for the REST API has been renamed in a previous commit X-Git-Tag: v0.11.0~23^2 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=18d2d3ae1500817dea422c64c8a67459906da96b Hotfix: History controller for the REST API has been renamed in a previous commit but the class name hasn't been updated in index.php --- diff --git a/index.php b/index.php index a96c9cfd..54478237 100644 --- a/index.php +++ b/index.php @@ -1888,7 +1888,7 @@ $app->group('/api/v1', function () { $this->put('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:putTag')->setName('putTag'); $this->delete('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:deleteTag')->setName('deleteTag'); - $this->get('/history', '\Shaarli\Api\Controllers\History:getHistory')->setName('getHistory'); + $this->get('/history', '\Shaarli\Api\Controllers\HistoryController:getHistory')->setName('getHistory'); })->add('\Shaarli\Api\ApiMiddleware'); $response = $app->run(true);