app/Http/Controllers/StaffController.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()
    {
        $staff = Staff::all();
		return View::make('supplier.index')->with('staff', $staff);
    }
public function index ( ) { $ staff = Staff :: all ( ) ; return View :: make ( 'supplier.index' ) -> with ( 'staff' , $ staff ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Retrieve all the supplier // Load the view and pass the retrieved supplier to the view for further processing