comparison Lib/IMPL/Web/View/TTControl.pm @ 186:6c0fee769b0c

IMPL::Web::View::TTControl tests, fixes
author cin
date Fri, 30 Mar 2012 16:40:34 +0400
parents ae8072f2f2a3
children 927653d01f4f
comparison
equal deleted inserted replaced
185:ae8072f2f2a3 186:6c0fee769b0c
57 57
58 return if $method eq 'DESTROY'; 58 return if $method eq 'DESTROY';
59 59
60 my $res = $_[0]->template->$method(); 60 my $res = $_[0]->template->$method();
61 61
62 return defined($res) ? $res : $_[0]->context->stash->get($method); 62 return defined($res) ? $res : $_[0]->context->stash->get($method);
63 63
64 } 64 }
65 65
66 1; 66 1;
67 67