codeigniter4 controller name style like UserGroup |
(11-08-2018, 05:47 AM)obozdag Wrote: Should I change my controller name to Usergroup or url to http://localhost/UserGroup (or http://localhost/userGroup)? If you want to use the auto-routing functionality like previous versions had, then yes, you'll need keep the name as ucfirst and not camel case. The framework has no way of guessing which other letters should be capitalized. So, this is a case where it's functionally required. But, titounnes is right, you can specify each route. That has some included power and flexibility you won't get from auto-routing. |
Messages In This Thread |
codeigniter4 controller name style like UserGroup - by obozdag - 11-08-2018, 05:47 AM
RE: codeigniter4 controller name style like UserGroup - by titounnes - 11-08-2018, 07:47 AM
RE: codeigniter4 controller name style like UserGroup - by kilishan - 11-08-2018, 08:40 AM
RE: codeigniter4 controller name style like UserGroup - by obozdag - 11-08-2018, 11:21 PM
|