mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Define expected /fetch module routes
This commit is contained in:
parent
fb63274aaf
commit
9f2529df30
1 changed files with 3 additions and 3 deletions
|
@ -123,9 +123,9 @@ class Router
|
|||
});
|
||||
$this->routeCollector->addRoute(['GET'], '/feedtest', Module\Debug\Feed::class);
|
||||
$this->routeCollector->addGroup('/fetch', function (RouteCollector $collector) {
|
||||
$collector->addRoute(['GET'], '/{guid}/post', Module\Diaspora\Fetch::class);
|
||||
$collector->addRoute(['GET'], '/{guid}/status_message', Module\Diaspora\Fetch::class);
|
||||
$collector->addRoute(['GET'], '/{guid}/reshare', Module\Diaspora\Fetch::class);
|
||||
$collector->addRoute(['GET'], '/post/{guid}', Module\Diaspora\Fetch::class);
|
||||
$collector->addRoute(['GET'], '/status_message/{guid}', Module\Diaspora\Fetch::class);
|
||||
$collector->addRoute(['GET'], '/reshare/{guid}', Module\Diaspora\Fetch::class);
|
||||
});
|
||||
$this->routeCollector->addRoute(['GET'], '/filer[/{id:\d+}]', Module\Filer\SaveTag::class);
|
||||
$this->routeCollector->addRoute(['GET'], '/filerm/{id:\d+}', Module\Filer\RemoveTag::class);
|
||||
|
|
Loading…
Reference in a new issue