在 Laravel 4 中定义路由时,是否可以在同一路由中定义多个 URI 路径?
目前我做以下事情:
Route::get('/', 'DashboardController@index');
Route::get('/dashboard', array('as' => 'dashboard', 'uses' => 'v1\DashboardController@index'));
但这违背了我的目的,我想做类似的事情
Route::get('/, /dashboard', array('as' => 'dashboard', 'uses' => 'DashboardController@index'));