[Catalyst] Local action in controller not mapping to template
(retry)
Anne Brown
lovallama at gmail.com
Mon Apr 20 14:31:52 GMT 2009
Andrew Rodland wrote:
>
>>
>> sub index : Private {}
>>
>
> That's legacy and you shouldn't do it. It should be
>
> sub index :Path Args(0) { ... }
>
> Having index be a private action made no sense, which is why nothing does
> that
> anymore -- the helper scripts don't generate it, and the tutorial doesn't
> show
> it. It only still _works_ so that old apps aren't broken.
>
> Andrew
>
>
Thanks Andrew.
Unfortunately, my manuals show it. So do the PODs. I use ppm on Windoze to
download perl modules. I couldn't find any repositories with later versions
of Catalyst or the manual.
I'll use the new format from now on. It certainly makes more sense.
Much appreciated,
Anne
--
View this message in context: http://www.nabble.com/Local-action-in-controller-not-mapping-to-template-%28retry%29-tp23123769p23137859.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
More information about the Catalyst
mailing list