We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

I'm from Russia, do not speak English. Кто может помочь?

Всем привет. Такая задача. Есть контролле ProductcategoriseController, как сделать, чтобы в урл была такая конструкция https://exemple.com/product-categories/ ? Чтобы https://exemple.com/productcategories/ - не работало, https://exemple.com/product-categories/edit/ - работало, https://exemple.com/productcategories/edit/ - не работало

Google translate :) Hello. Such a task. Is there a Controller ProductcategoriseController, how do I make this structure https://exemple.com/product-categories/ in the URL? To https://exemple.com/productcategories/ - not work, https://exemple.com/product-categories/edit/ - worked, https://exemple.com/productcategories/edit/ - did not work

Hi @kolian Controller names are camelized, this means that characters (-) and (_) are removed and the next character is uppercased. For instance, some_controller is converted to SomeController. routing docs

Good lucks