Merge pull request #1293 from ArthurHoaro/hotfix/history-rename

Hotfix: History controller for the REST API has been renamed in a previous commit
This commit is contained in:
ArthurHoaro 2019-04-15 17:56:06 +02:00 committed by GitHub
commit 0d4c7a9fe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1888,7 +1888,7 @@ function install($conf, $sessionManager, $loginManager)
$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);