removed unnecessary method handler.

This commit is contained in:
Taylor Otwell
2011-08-16 22:35:40 -05:00
parent 5c3c2e2d9c
commit 512eea1a4e

View File

@@ -83,7 +83,7 @@ class Handler {
*/
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 @@ class Handler {
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');
}
}