Mrs. good morning I'd like to config my Laravel initial route, to works on the /, I don't know how I can to do to use the controller.
I use at this moment redirecting my initial route to /start route, but I'd like to use on / only.
See my router below.
Route::controller("Start");
Route::controller("Search");
Route::controller("Contact");
Route::get('/', function()
{
return Redirect::to("start");
});
I'd like to make:
Route::get('/', function()
{
return View::make("start.index");
});
And pass the Start.php controller to this view, it's possible?
Can somebody help me with?