Welcome Guest, Not a member yet? Register   Sign In
Does the controller name support hump to underline?
#1
Tongue 

Does the controller name support hump to underline?

like this:


Code:
class data extends CommonController {

    public function getData()    {
        return view('get_data');
    }
}

url like this:

Code:
http://www.test.com/data/get_data
Reply
#2

No, it doesn't do any auto-magic conversion between the two naming types.
Reply
#3

(10-22-2017, 02:42 PM)kilishan Wrote: No, it doesn't do any auto-magic conversion between the two naming types.

A quick, probably silly question, And slightly off topic, But I'm going to ask it before someone else does. 

In his example above the URL would be?

Code:
http://www.test.com/commoncontroller/getdata/...

I.E.: all lowercase as is normal?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB