Re: [Catalyst] Is this right (Chained actions)

2006-08-30 Thread John Napiorkowski
Okay, Maybe a more simple explanation of my question. The documentation talkes about using relative paths in the Chain attribute, however the :Chained('.') doesn't work unless there is already a :Chained('/') for it to find. So if I want to match, /templates/* I can do the following

[Catalyst] Is this right (Chained actions)

2006-08-29 Thread John Napiorkowski
Hi, I'm giving my first shot at using this chained action thing and I'm not sure if I have this right. If I have a catalyst controller like so: package myapp::templates [...] sub pages :Path Args(0) { [...] } sub page :Chained('/') PathPart('templates') CaptureArgs(1) { [...] } sub