Phalcon routing correctly pattern – PHP
Help with routing settings, there is the following request template with frontend: /books/([0-9]+)/book-authors/([0-9]+)/images There is a controller located in namespace: ShopControllersBooksBookAuthorsImagesController The controller has an indexAction method. In routing.php I specify the following: $router = new Router(false); $router->removeExtraSlashes(true); $router->setDefaultNamespace('ShopControllers'); $router->setDefaultController('index');…