Mercurial > pub > Impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
338:c78dfbe658bd | 339:97628101b765 |
---|---|
49 } | 49 } |
50 | 50 |
51 my $vars = { | 51 my $vars = { |
52 view => $view, | 52 view => $view, |
53 model => $model, | 53 model => $model, |
54 #TODO cleanup | |
54 action => sub { carp "action variable is deprecated"; $action }, | 55 action => sub { carp "action variable is deprecated"; $action }, |
56 request => sub { $action }, | |
55 app => $action->application, | 57 app => $action->application, |
56 context => $action->context, | 58 context => $action->context, |
57 env => _cached($action->context->{environment}), | 59 env => _cached($action->context->{environment}), |
58 ImportClass => sub { | 60 ImportClass => sub { |
59 my $class = shift; | 61 my $class = shift; |