From 18d2d3ae1500817dea422c64c8a67459906da96b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 15 Apr 2019 17:45:58 +0200 Subject: [PATCH] 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 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index a96c9cf..5447823 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);