I have a controller That have multiple functions with the same router so I am getting error exception. Please Guide me for This error
Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'admin']], function()
{
Route::get('/dashboard','DashboardController@chart');
Route::get('/dashboard','DashboardController@index');
});