(09-25-2019, 08:43 AM)ciadmin Wrote: (09-25-2019, 08:19 AM)juworld Wrote: Hi there,
I notice that controller methods are still using snake_case? Is that the only exception?
Justin
Which controller methods are you referrig to?
For controller methods that I build.
For example, if I added a new method in Home and call it go_home. I can visit this url by /home/go-home (in routes, I have
$routes->setTranslateURIDashes(true);)
But, if I switch go_home to goHome, I have to use /home/goHome. using /home/go-home will give me a file not found
The way I can get around it is by adding home/go-home in Routes.php. Is that the best practice?
Please advice!
Justin