Why don't you separate them into two routes?
Route::group(array('prefix' => 'account'), function()
{
Route::get('/',function(){
return View::make('account.home');
});
Route::get('home', function()
{
return View::make('account.home');
});
});
I wanted to know if there was a solution to do it in one route.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community