CodeIgniter Forums
Matchbox Route to modules ?? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Matchbox Route to modules ?? (/showthread.php?tid=29301)



Matchbox Route to modules ?? - El Forum - 04-05-2010

[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


Matchbox Route to modules ?? - El Forum - 04-06-2010

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



Matchbox Route to modules ?? - El Forum - 04-06-2010

[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


Matchbox Route to modules ?? - El Forum - 08-18-2010

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

Tnx in advance.