diff Lib/IMPL/Web/Handler/ErrorHandler.pm @ 398:38cb0b80e88e

minor changes
author sergey
date Thu, 08 May 2014 03:53:17 +0400
parents 69a1f1508696
children b79081b70a7a
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/ErrorHandler.pm	Mon May 05 18:17:03 2014 +0400
+++ b/Lib/IMPL/Web/Handler/ErrorHandler.pm	Thu May 08 03:53:17 2014 +0400
@@ -18,7 +18,6 @@
 	props => [
         errors => PROP_RW,
         view => PROP_RW,
-        layout => PROP_RW,
         fallback => PROP_RW,
         contentType => PROP_RW
 	]
@@ -60,9 +59,7 @@
         my $text = $this->view->display(
         	$err,
         	$this->errors->{$code} || $this->fallback,
-        	{
-        		layout => $this->layout
-        	}
+        	$vars
 		);
         
         $result = HttpResponse->new(