forked from friendica/friendica-directory
Move Photo Controller to Api
This commit is contained in:
parent
f6426c1e8a
commit
13a2068a8b
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Api;
|
||||||
|
|
||||||
use Slim\Http\Request;
|
use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
|
@ -9,7 +9,7 @@ class Photo extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
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
|
$this->container->atlas
|
||||||
))->render($request, $response, $args);
|
))->render($request, $response, $args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue