Geoff Flarity wrote:
> Please consider the following example:
>
> sub one : Local {
> my ($self, $c ) = @_;
> $c->forward( '_two')
> $c->stash->{template} = 'one.tt2'
> }
>
> sub two : Private {
> my ($self, $c ) = @_;
> $c->detach('_three');
> $c->stash->{template} = 'two.tt2'
> }
>
> sub three : Private {
> my ($self, $c ) = @_;
> $c->stash->{template} = 'three.tt2';
> }
>
> My current understanding is that the value of template should be
> three.tt2. Is this correct? It would be if you forwarded to 'two' and detached to 'three'. You are using '_two' and '_three'. Regards, Jonathan Rockway
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/
