diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-04-15 17:56:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 17:56:06 +0200 |
commit | 0d4c7a9fe3c2f83d688a65d6e5fe4505366b0b25 (patch) | |
tree | 59afdc4cd4095ae4515869d999424edde83799c4 /index.php | |
parent | b7aad51e8a8fcbccf5faeed80851ce874012a148 (diff) | |
parent | 18d2d3ae1500817dea422c64c8a67459906da96b (diff) | |
download | Shaarli-0d4c7a9fe3c2f83d688a65d6e5fe4505366b0b25.tar.gz Shaarli-0d4c7a9fe3c2f83d688a65d6e5fe4505366b0b25.tar.zst Shaarli-0d4c7a9fe3c2f83d688a65d6e5fe4505366b0b25.zip |
Merge pull request #1293 from ArthurHoaro/hotfix/history-rename
Hotfix: History controller for the REST API has been renamed in a previous commit
Diffstat (limited to '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); |