diff Lib/IMPL/Web/Handler/TTView.pm @ 339:97628101b765

refactoring: application now holds a security object factory rather than a security object
author cin
date Wed, 19 Jun 2013 03:25:44 +0400
parents 71221d79e6b4
children
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/TTView.pm	Sat Jun 15 02:32:11 2013 +0400
+++ b/Lib/IMPL/Web/Handler/TTView.pm	Wed Jun 19 03:25:44 2013 +0400
@@ -51,7 +51,9 @@
     my $vars = {
         view        => $view,
         model       => $model,
+        #TODO cleanup
         action      => sub { carp "action variable is deprecated"; $action },
+        request     => sub { $action },
         app         => $action->application,
         context     => $action->context,
         env         => _cached($action->context->{environment}),