app/Http/Controllers/ShiftsController.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()
    {
        $shifts=Shift::all();
        return view('shift.index',compact('shifts'));
    }
public function index ( ) { $ shifts = Shift :: all ( ) ; return view ( 'shift.index' , compact ( 'shifts' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//