Logo
Explore Help
Sign In
GNUsocial/gnu-social
4
0
Fork 1
You've already forked gnu-social
Code Issues Releases Wiki Activity
gnu-social/config/routes.php

8 lines
169 B
PHP
Raw Normal View History

[CORE][ROUTES] Example route
2020-03-12 17:59:13 +00:00
<?php
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions 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
2020-03-15 21:21:11 +00:00
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
[CORE][ROUTES] Example route
2020-03-12 17:59:13 +00:00
return function (RoutingConfigurator $routes) {
[CORE][ROUTES] Implemented custom router, with an interface similar to the old one, which allows routes to be seperated into files
2020-03-21 18:53:25 +00:00
$routes->import('.', 'GNUsocial');
[CORE][ROUTES] Example route
2020-03-12 17:59:13 +00:00
};
Copy Permalink
Powered by Gitea Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API