diff --git a/src/Module/Follow.php b/src/Module/Contact/Follow.php similarity index 99% rename from src/Module/Follow.php rename to src/Module/Contact/Follow.php index 95ad2c9ae7..08585d26f9 100644 --- a/src/Module/Follow.php +++ b/src/Module/Contact/Follow.php @@ -19,7 +19,7 @@ * */ -namespace Friendica\Module; +namespace Friendica\Module\Contact; use Friendica\App; use Friendica\BaseModule; @@ -34,6 +34,7 @@ use Friendica\Model\Item; use Friendica\Model\Post; use Friendica\Model\Profile; use Friendica\Model\User; +use Friendica\Module\Response; use Friendica\Navigation\SystemMessages; use Friendica\Network\HTTPException\ForbiddenException; use Friendica\Network\Probe; diff --git a/static/routes.config.php b/static/routes.config.php index a478ff05bb..072ee93878 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -418,7 +418,7 @@ return [ '/filed' => [Module\Search\Filed::class, [R::GET]], '/filer[/{id:\d+}]' => [Module\Filer\SaveTag::class, [R::GET]], '/filerm/{id:\d+}' => [Module\Filer\RemoveTag::class, [R::GET, R::POST]], - '/follow[/{url}]' => [Module\Follow::class, [R::GET, R::POST]], + '/follow[/{url}]' => [Module\Contact\Follow::class, [R::GET, R::POST]], '/follow_confirm' => [Module\FollowConfirm::class, [R::GET, R::POST]], '/followers/{nickname}' => [Module\ActivityPub\Followers::class, [R::GET]], '/following/{nickname}' => [Module\ActivityPub\Following::class, [R::GET]],