remove unnecessary else.

This commit is contained in:
Taylor Otwell 2011-07-26 15:31:56 -05:00
parent a4e8375feb
commit 6b9b0ad5cd
1 changed files with 2 additions and 4 deletions

View File

@ -111,11 +111,9 @@ protected function find()
{
return $path;
}
else
{
throw new \Exception("View [".$this->view."] doesn't exist.");
}
}
/**
* Add a view instance to the view data.