aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-04-15 17:56:06 +0200
committerGitHub <noreply@github.com>2019-04-15 17:56:06 +0200
commit0d4c7a9fe3c2f83d688a65d6e5fe4505366b0b25 (patch)
tree59afdc4cd4095ae4515869d999424edde83799c4
parentb7aad51e8a8fcbccf5faeed80851ce874012a148 (diff)
parent18d2d3ae1500817dea422c64c8a67459906da96b (diff)
downloadShaarli-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
-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);