2022.09-rc
Philipp Holzer 2019-05-01 20:17:15 +02:00
rodzic b3cee63745
commit 0b5db6238e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 517BE60E2CE5C8A5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -24,8 +24,8 @@ A frontend module should extend the [`BaseModule`](https://github.com/friendica/
### Routing
Every module needs to be accessed within a route.
The routing mechanism is using a PSR-7 based routing and the routes are defined inside [`Router->collectRoutes()`](https://github.com/friendica/friendica/blob/develop/src/App/Router.php).
The routes are defined inside [`Router->collectRoutes()`](https://github.com/friendica/friendica/blob/develop/src/App/Router.php).
Use the given routes as a pattern for further routes.
The routing library can be found [here](https://github.com/thephpleague/route).
The routing library and further documentation can be found [here](https://github.com/nikic/FastRoute).