forked from GNUsocial/gnu-social
cc72373e3d
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);
|
|
};
|