/** * Show the form for editing the specified resource. * * @param $user * @return Response */ public function getEdit($id) { $customers = Customers::find($id); $segment = $customers->customers_segment; $segments = CustomersSegment::all(); return view('admin.customers.create_edit', compact('customers', 'segments', 'segment')); }