Support the ongoing development of Laravel.io →
posted 10 years ago
Requests
Last updated 2 years ago.
0

Any help?

Last updated 2 years ago.
0

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');
	});
});
Last updated 2 years ago.
0

I wanted to know if there was a solution to do it in one route.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

vinylrain vinylrain Joined 20 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.