I have created a module namely students, I would like to get students/home/index as home page for my module homepage, for that purpose i have created routes.php in config file,
How i do that,
if i visit localhost/students it will render localhost/students/home/index. as in default app _root_
Fuel v1 doesn't support recursive routing, so you can't set a route in your app routes, and route that further in your module. Fuel v2 will support that.
So currently the only thing you can do:
// in your app/config/routes.php:
return array(
'_root_' => 'students/home/index',
);
Well, not entirely true, you do what you want using module routes, but it requires a redirect:
If I changed value of _root_ in app/config.i think it will change my home page. My home page ia dashbord/index I want when some one gone to module /students/ then it must execute home/index in module controller