CodeIgniter Forums

Full Version: Closure routes error with setTranslateURIDashes set to True
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The ci4 documentation clearly states that the setTranslateURIDashes when set to true translates dashes in controller and method names to underscores because dashes are invalid controller, method name. This works perfectly with controller, method routes but tends to give errorException when you hit a routes with closure, consequently affecting route groups which are important in most applications.