app/Http/Controllers/Admin/MonthlyDatas/TutorHoursController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $tutors = Role::find(config('global.TUTOR_ROLE_ID'))->users()->get();
        return view('admin.monthlydata.tutorhours.index')->with('tutors', $tutors);
    }
public function index ( ) { $ tutors = Role :: find ( config ( 'global.TUTOR_ROLE_ID' ) ) -> users ( ) -> get ( ) ; return view ( 'admin.monthlydata.tutorhours.index' ) -> with ( 'tutors' , $ tutors ) ; }
Display a listing of the resource.
Display a listing of the resource .