Welcome Guest, Not a member yet? Register   Sign In
Controller naming PascalCase
#5

(12-16-2019, 01:09 AM)RedskyThirty Wrote: No, I don't have controllers with same names, I would never do that ;-) But I don't want to have url with uppercases..

And you probably should not have URLs that are case-sensitive.

There are two ways to correct the problem. 1. Don't use PascalCase for controller names. Instead, use uppercase only on the first character. 2. Go ahead and use PascalCase, but define a route that points to the correct (fully PascalCase named) controller.

I believe that yet to be released documentation makes note of these options. Sorry you had to learn this the hard way.
Reply


Messages In This Thread
Controller naming PascalCase - by RedskyThirty - 12-12-2019, 12:24 PM
RE: Controller naming PascalCase - by ciadmin - 12-12-2019, 01:53 PM
RE: Controller naming PascalCase - by dave friend - 12-19-2019, 12:02 AM
RE: Controller naming PascalCase - by MGatner - 12-20-2019, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB