コード例 #1
0
 public function index()
 {
     $movements = Movement::all();
     $courses = Course::where('project_id', '=', Auth::user()->curr_project_id)->where('location_id', '=', Auth::user()->location_id)->get();
     $menu = 'student';
     return View::make('movements.index', compact('movements', 'menu'));
 }