<?php

use Laracasts\Presenter\Presenter;

class CandidatePresenter extends Presenter {

  public function thumbnail()
  {
    if($this->photo) {
      return "/images/thumb-" . $this->photo;
    } else {
      return "/placeholder.png";
    }
  }

  public function twitter()
  {
    if(isset($this->twitter)) {
      return $this->twitter;
    } else {
      return $this->name;
    }
  }

}

<?php

use Laracasts\Presenter\Presenter;

class CandidatePresenter extends Presenter {

  public function thumbnail()
  {
    if($this->photo) {
      return "/images/thumb-" . $this->photo;
    } else {
      return "/placeholder.png";
    }
  }
}

Remove twitter handle from presenter.
Remove twitter handle from presenter.
