app/Http/Controllers/BranchController.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()
    {
        $branch = Branch::all();
		return View::make('branch.index')->with('branch', $branch);
    }
public function index ( ) { $ branch = Branch :: all ( ) ; return View :: make ( 'branch.index' ) -> with ( 'branch' , $ branch ) ; }
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