App\Http\Controllers\LeadsController::show PHP Method

show() public method

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response
    public function show($id)
    {
        return view('leads.show')->withLeads($this->leads->find($id))->withUsers($this->users->getAllUsersWithDepartments())->withCompanyname($this->settings->getCompanyName());
    }