#1
I need to use a hyphen instead of an underscore on some paths for SEO and Google Ads urls that were set on the website before I converted to Trongate.

I added this in custom_routing.php:


And the error I get is:
#2
Hi Jim,

I think I may have looked at this in the past and tried to search it up here, but don't think the search feature is working too well at the moment. I know there was an issue with the desktop app and hyphens in app names because the database creation failed, which I had a fix for, but this is something different.

I'll have another look a bit later today as I have to go out right now.
#3
Thanks Dafa.

Custom routing works now when I add $data['view_module'] in my controller:

#4
Yes, that was it, adding $data['view_module'] is a must if you are using custom routes.

Cheers mate ?