Welcome Guest, Not a member yet? Register   Sign In
Routes doesn't work
#4

Thanks guys, my bad Tongue

I have one more question, how to route all methods from first controller to second?
Ex. I have controller Wolontariusze with url's:
Code:
http://example.com/wolontariusze/[methods from Wolontariusze]
and controller Panel with url:
Code:
http://example.com/panel/[methods from Panel]

And I want to do url's:
Code:
http://example.com/panel/wolontariusze/[methods from Wolontariusze]

I create this route:
PHP Code:
$route['panel/wolontariusze/(:any)'] = 'wolontariusze/$1'
but doesn't like me and i got error 404
Reply


Messages In This Thread
Routes doesn't work - by vertisan - 02-12-2015, 07:57 AM
RE: Routes doesn't work - by Rufnex - 02-12-2015, 08:39 AM
RE: Routes doesn't work - by CroNiX - 02-12-2015, 08:41 AM
RE: Routes doesn't work - by vertisan - 02-12-2015, 09:31 AM
RE: Routes doesn't work - by ivantcholakov - 02-12-2015, 11:34 AM
RE: Routes doesn't work - by vertisan - 02-12-2015, 12:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB