diff Lib/IMPL/Web/Handler/TTView.pm @ 334:71221d79e6b4

removing web resources contracts
author cin
date Thu, 13 Jun 2013 02:24:57 +0400
parents 5d14baa35790
children 97628101b765
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/TTView.pm	Tue Jun 11 20:22:52 2013 +0400
+++ b/Lib/IMPL/Web/Handler/TTView.pm	Thu Jun 13 02:24:57 2013 +0400
@@ -51,8 +51,9 @@
     my $vars = {
         view        => $view,
         model       => $model,
-        action      => $action,
+        action      => sub { carp "action variable is deprecated"; $action },
         app         => $action->application,
+        context     => $action->context,
         env         => _cached($action->context->{environment}),
         ImportClass => sub {
             my $class = shift;