Просмотр поста #562134: JohnCMS 9.9: Migrating Old Custom Modules Using ?act= to the New Routing System

.
Simba
Кадило крутится, лавэха мутится

drevils, You don't need to register routes with GET parameters (like ?act=) in your routes.php file. The routing system only matches the main URL path.

You only need to register the single main route, and then you can handle the $_GET['act'] parameter inside your controller or index.php file just like you did before.