app/Http/Controllers/lawyersController.php
/**
     * Show the form for editing the specified lawyers.
     *
     * @param int $id
     *
     * @return Response
     */
Show the form for editing the specified lawyers.
@param int $id

@return Response
Show the form for editing the specified lawyers . @param int $id @return Response
public function edit($id)
    {
        $lawyers = $this->lawyersRepository->find($id);
        if (empty($lawyers)) {
            Flash::error('Lawyers not found');
            return redirect(route('lawyers.index'));
        }
        return view('lawyers.edit')->with('lawyers', $lawyers);
    }
public function edit ( $ id ) { $ lawyers = $ this -> lawyersRepository -> find ( $ id ) ; if ( empty ( $ lawyers ) ) { Flash :: error ( 'Lawyers not found' ) ; return redirect ( route ( 'lawyers.index' ) ) ; } return view ( 'lawyers.edit' ) -> with ( 'lawyers' , $ lawyers ) ; }
Show the form for editing the specified lawyers.
Show the form for editing the specified lawyers .