Пример #1
0
 /**
  * Created By Dara on 22/2/2016
  * show list of sessions related to specific course
  */
 public function adminIndex(Course $course)
 {
     $sessions = $course->sessions()->get();
     return view('admin.session.list', compact('sessions', 'course'))->with(['title' => "جلسات {$course->name}"]);
 }