Move Photo Controller to Api

This commit is contained in:
Hypolite Petovan 2018-11-15 23:41:32 -05:00
parent f6426c1e8a
commit 13a2068a8b
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Directory\Controllers\Web;
namespace Friendica\Directory\Controllers\Api;
use Slim\Http\Request;
use Slim\Http\Response;

View file

@ -9,7 +9,7 @@ class Photo extends BaseRoute
{
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
{
return (new \Friendica\Directory\Controllers\Web\Photo(
return (new \Friendica\Directory\Controllers\Api\Photo(
$this->container->atlas
))->render($request, $response, $args);
}