]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Merge pull request #731 from virtualtam/fix/api/namespaces
[github/shaarli/Shaarli.git] / index.php
index a4d7d7cac3e7269ef96ace736950cb241a3a6ad1..bb1debd3f515bcd5bf2a3b892b3b60890812c092 100644 (file)
--- a/index.php
+++ b/index.php
@@ -2231,8 +2231,8 @@ $app = new \Slim\App($container);
 
 // REST API routes
 $app->group('/api/v1', function() {
-    $this->get('/info', '\Api\Controllers\Info:getInfo');
-})->add('\Api\ApiMiddleware');
+    $this->get('/info', '\Shaarli\Api\Controllers\Info:getInfo');
+})->add('\Shaarli\Api\ApiMiddleware');
 
 $response = $app->run(true);
 // Hack to make Slim and Shaarli router work together: