Route:
Route::get(\'/calendar/{id}\', \'TasksController@showcalendar\')->name(\'cal\');
Function:
public function showc