From 95528adab5e4f409d20f81c935e8ffdfee263f8d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 10 Jul 2011 23:16:11 -0500 Subject: [PATCH] fix syntax error in error class. --- application/routes.php | 1 + system/error.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/application/routes.php b/application/routes.php index 229a673a..6f5afff2 100644 --- a/application/routes.php +++ b/application/routes.php @@ -17,6 +17,7 @@ return array( 'GET /' => function() { + $this-> return View::make('home/index'); }, diff --git a/system/error.php b/system/error.php index 7af64e51..a4070fab 100644 --- a/system/error.php +++ b/system/error.php @@ -66,7 +66,7 @@ class Error { ->bind('message', $message) ->bind('file', $file) ->bind('line', $e->getLine()) - ->bind('trace', $e->getTraceAsString()) + ->bind('trace', $e->getTraceAsString()); Response::make($view, 500)->send(); }