aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-04-15 17:45:58 +0200
committerArthurHoaro <arthur@hoa.ro>2019-04-15 17:45:58 +0200
commit18d2d3ae1500817dea422c64c8a67459906da96b (patch)
tree59afdc4cd4095ae4515869d999424edde83799c4
parentb7aad51e8a8fcbccf5faeed80851ce874012a148 (diff)
downloadShaarli-18d2d3ae1500817dea422c64c8a67459906da96b.tar.gz
Shaarli-18d2d3ae1500817dea422c64c8a67459906da96b.tar.zst
Shaarli-18d2d3ae1500817dea422c64c8a67459906da96b.zip
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
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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 () {
1888 $this->put('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:putTag')->setName('putTag'); 1888 $this->put('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:putTag')->setName('putTag');
1889 $this->delete('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:deleteTag')->setName('deleteTag'); 1889 $this->delete('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:deleteTag')->setName('deleteTag');
1890 1890
1891 $this->get('/history', '\Shaarli\Api\Controllers\History:getHistory')->setName('getHistory'); 1891 $this->get('/history', '\Shaarli\Api\Controllers\HistoryController:getHistory')->setName('getHistory');
1892})->add('\Shaarli\Api\ApiMiddleware'); 1892})->add('\Shaarli\Api\ApiMiddleware');
1893 1893
1894$response = $app->run(true); 1894$response = $app->run(true);