Allow ocs/v2.php/cloud/... routes
One of the possibilities of the old OCS API is that you can define the url yourself. This PR makes this possible again by adding an optional root elemenet to the route. Routes are thus: .../ocs/v2.php/<root>/<url> By default <root> = apps/<app> This will allow for example the provisioning API etc to be in ../ovs/v2/php/cloud/users
Showing
- lib/private/AppFramework/Routing/RouteConfig.php 7 additions, 1 deletionlib/private/AppFramework/Routing/RouteConfig.php
- lib/private/Route/Router.php 1 addition, 1 deletionlib/private/Route/Router.php
- tests/lib/AppFramework/Routing/RoutingTest.php 7 additions, 7 deletionstests/lib/AppFramework/Routing/RoutingTest.php
Loading
Please register or sign in to comment