Commit 512eea1a authored by Taylor Otwell's avatar Taylor Otwell

removed unnecessary method handler.

parent 5c3c2e2d
......@@ -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');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment