removed unnecessary method handler.

This commit is contained in:
Taylor Otwell 2011-08-16 22:35:40 -05:00
parent 5c3c2e2d9c
commit 512eea1a4e
1 changed files with 1 additions and 11 deletions

View File

@ -83,7 +83,7 @@ private function log()
*/ */
private function get_response($detailed) private function get_response($detailed)
{ {
return ($detailed) ? $this->detailed_response() : $this->generic_response(); return ($detailed) ? $this->detailed_response() : Response::error('500');
} }
/** /**
@ -104,14 +104,4 @@ private function detailed_response()
return Response::make(View::make('error.exception', $data), 500); return Response::make(View::make('error.exception', $data), 500);
} }
/**
* Get the generic error report for the exception.
*
* @return Response
*/
private function generic_response()
{
return Response::error('500');
}
} }