mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:40:16 +00:00
Add profile archive URL pattern to Router
This commit is contained in:
parent
d27d4d8927
commit
50e44f46ae
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ class Router
|
|||
$this->routeCollector->addRoute(['GET'], '/probe', Module\Debug\Probe::class);
|
||||
$this->routeCollector->addGroup('/profile', function (RouteCollector $collector) {
|
||||
$collector->addRoute(['GET'], '/{nickname}', Module\Profile::class);
|
||||
$collector->addRoute(['GET'], '/{nickname}/{to:\d{4}-\d{2}-\d{2}}/{from:\d{4}-\d{2}-\d{2}}', Module\Profile::class);
|
||||
$collector->addRoute(['GET'], '/{nickname}/contacts[/{type}]', Module\Profile\Contacts::class);
|
||||
$collector->addRoute(['GET'], '/{profile:\d+}/view', Module\Profile::class);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue