Richard Jones wrote:
> Christopher H. Laco wrote:
>> Imho, :Template('foo') is a lot more elegant than $c->stash->{'template'}
>>
>>
> What if we are already doing:
> sub foo : Local Form('/path/to/file') { }
>
> Does it still work?
>
Wel does Form('/path/to/file') do?
Is that /path/to/form/file ?
sub foo : Local Form('/path/to/file') Template('foo.tt') { }
Those just set defaults.
If anything alters stash->{template} before View->process is called,
that is used, not the default for Template()
So, I'd think the two attributes together have no interaction...
-=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
