]> source.dussan.org Git - nextcloud-server.git/commit
Only load routes of the app which is requested
authorMorris Jobke <hey@morrisjobke.de>
Mon, 21 Jan 2019 11:02:30 +0000 (12:02 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 19 Aug 2020 19:58:20 +0000 (21:58 +0200)
commit053ee7b3860c352004bede82d040b4bd34ecb072
treeac54cc9c4626f7fda2fb1363b1f3c2b203bd6b2c
parentd3a53d6f3911bcb68cebbe661bc87a9cde594a8d
Only load routes of the app which is requested

* Add fallback to load all routes if needed
* Move partial loaded routes test to proper place

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/private/Route/Router.php
tests/lib/Route/RouterTest.php [new file with mode: 0644]
tests/lib/UrlGeneratorTest.php