Welcome Guest, Not a member yet? Register   Sign In
first segment in uri
#1

[eluser]dbashyal[/eluser]
is it possible to put dash in uri 1st segment

Quote:i.e. inplace of 'aboutus' can it be 'about-us' but load controller 'aboutus' no dash.

if yes, how can i do it?

Thank you.
#2

[eluser]Randy Casburn[/eluser]
pfft pfft...the things some people due to make their lives so darn difficult...

Yes...it's possible. Look at the user guide under the Routing class. You'll have to establish a custom route to your controller.

Randy




Theme © iAndrew 2016 - Forum software by © MyBB