I have a module in pyrocms its called event, since I can't call it event due to the already existing events class
I'd like to have the localhost/events url to lead to the event module though, so I've tried setting a route in event/config/routes.php
with this line
$route['events/(:any)?'] = 'event/$1';
but that doesn't work - what am I doing wrong?
I think the question mark may interfer with the routing, so it should be:
$route['events/(:any)'] = 'event/$1';