diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-04-15 17:45:58 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-04-15 17:45:58 +0200 |
commit | 18d2d3ae1500817dea422c64c8a67459906da96b (patch) | |
tree | 59afdc4cd4095ae4515869d999424edde83799c4 | |
parent | b7aad51e8a8fcbccf5faeed80851ce874012a148 (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |