]> git.mxchange.org Git - friendica.git/commitdiff
Add explicit contact route
authornupplaPhil <admin@philipp.info>
Wed, 22 Jan 2020 23:31:22 +0000 (00:31 +0100)
committernupplaPhil <admin@philipp.info>
Wed, 22 Jan 2020 23:31:22 +0000 (00:31 +0100)
static/routes.config.php

index aa04d6e6f702ad5698f43e75fe4951b3b9af4d80..44502cdfb2c36be95edb00dea4ffc2411e193e81 100644 (file)
@@ -174,6 +174,7 @@ return [
                '/home[/json]'       => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
                '/intros[/json]'     => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
                '/intros/all[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
+               '/intros/{contact:\d+}[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
        ],
 
        '/notify'         => [