Re: [Catalyst] Use of uri_for with CaptureArgs

2008-02-18 Thread Alan Hicks
Not sure if this is the right place, though it would have helped me understand how to use Chained actions more easily as I forget to refer to the Advent Calendar. Alan Hicks wrote: Bogdan Lucaciu wrote: On Monday 04 February 2008 14:09:25 Alan Hicks wrote: MyApp::Controller::Artist::Images s

Re: [Catalyst] Use of uri_for with CaptureArgs

2008-02-04 Thread Alan Hicks
Bogdan Lucaciu wrote: On Monday 04 February 2008 14:09:25 Alan Hicks wrote: MyApp::Controller::Artist::Images sub images_setup : Chained('/artist/artist_setup') PathPart('images') CaptureArgs(1) {} /artist/*/images/* From within MyApp::Controller::Artist::Images uri_for($id, 'show') gives htt

Re: [Catalyst] Use of uri_for with CaptureArgs

2008-02-04 Thread Bogdan Lucaciu
On Monday 04 February 2008 14:09:25 Alan Hicks wrote: > MyApp::Controller::Artist::Images > sub images_setup : Chained('/artist/artist_setup') PathPart('images') > CaptureArgs(1)  {} > /artist/*/images/* > >  From within MyApp::Controller::Artist::Images uri_for($id, 'show') > gives http://localhos

[Catalyst] Use of uri_for with CaptureArgs

2008-02-04 Thread Alan Hicks
Hi, I've started using CaptureArgs and PathPart and find them excellent and easy to use. I've probably missed something from the docs but does anyone have a best practice in using uri_for or an alternative for generating url's? the case I'm having difficulty with is to generate a url with mo