]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Hotfix: History controller for the REST API has been renamed in a previous commit
[github/shaarli/Shaarli.git] / index.php
index a96c9cfd3b4850757034f5f4d6ab4dd198cab8a3..5447823713d3f658b786e87803a2fe11630ba6c3 100644 (file)
--- 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);