forked from GNUsocial/gnu-social
6546c088d9
This has the benefit of requiring fewer code changes, as well as providing a better isolation between GNU social and symfony, useful in case the framework needs to be changed
11 lines
260 B
PHP
11 lines
260 B
PHP
<?php
|
|
|
|
use App\Controller\NetworkPublic;
|
|
|
|
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
|
|
|
|
return function (RoutingConfigurator $routes) {
|
|
$routes->add('network.public', '/main/all')
|
|
->controller(NetworkPublic::class);
|
|
};
|