Welcome Guest, Not a member yet? Register   Sign In
Matchbox Route to modules ??
#1

[eluser]Lucas Caleto[/eluser]
Hi guys, me again.
My question is simple, how can i route in the default config route folder.
let me explain
I Have the module inside modules folder

/modules/maestro

and have the controler
start

so i call like

http://localhost/index.php/maestro/start
And this words , fine

but i want to hide this folder module and call like

http://localhost/index.php/start

So i try
in the config/routes.php

$route['start'] = "maestro/start";

And this dont work, anyone can help me ?

Thanks a lot

Lucas Lisboa
#2

[eluser]B3ll4triX[/eluser]
try this
Code:
$route[‘start’] = “modules/maestro/start”;
#3

[eluser]Lucas Caleto[/eluser]
B3ll4triX , thanks.

But dont work.
I need to make one route to a module controller. in the default route inside folder config.
have any idea ??

thanks

Lucas
#4

[eluser]Unknown[/eluser]
Have you found a solution for this?

Tnx in advance.




Theme © iAndrew 2016 - Forum software by © MyBB