Пример #1
0
 protected function view($taskid)
 {
     $task = Task::whereId($taskid)->first();
     return view('task.view', ['task' => $task]);
 }