diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2232,6 +2232,7 @@ $app = new \Slim\App($container); | |||
2232 | // REST API routes | 2232 | // REST API routes |
2233 | $app->group('/api/v1', function() { | 2233 | $app->group('/api/v1', function() { |
2234 | $this->get('/info', '\Shaarli\Api\Controllers\Info:getInfo'); | 2234 | $this->get('/info', '\Shaarli\Api\Controllers\Info:getInfo'); |
2235 | $this->get('/links', '\Shaarli\Api\Controllers\Links:getLinks'); | ||
2235 | })->add('\Shaarli\Api\ApiMiddleware'); | 2236 | })->add('\Shaarli\Api\ApiMiddleware'); |
2236 | 2237 | ||
2237 | $response = $app->run(true); | 2238 | $response = $app->run(true); |