Commit bbc8b8f9 authored by Taylor Otwell's avatar Taylor Otwell

Refactoring View class.

parent 767a49f5
......@@ -78,14 +78,7 @@ class View {
//
// Otherwise, a white screen of death will be shown if an exception occurs
// while rendering the view.
try
{
include $path;
}
catch (\Exception $e)
{
Error::handle($e);
}
try { include $path; } catch (\Exception $e) { Error::handle($e); }
return ob_get_clean();
}
......
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