Matt S Trout wrote: > On Thu, Nov 15, 2007 at 11:47:34AM -0800, Les Fletcher wrote: >> I have question about setting up PathPart's and Chaining. I am trying >> to set something that has the following look: >> >> /namespace/ => This lists out a list of objects >> /namespace/<id> => displays detail information about the object with the >> numeric id=<id> >> /namespace/<id>/edit => brings up a form to edit object with numeric id=<id> >> /namespace/create => brings up a form to create a new object >> >> When the Chained actions are printed out everything looks fine, but when >> I goto "/namespace/create" it matches the "/namespace/<id>" view >> action. Needless to say, there isn't an object with the numeric id of >> "create." > > Try upgrading to absolute latest Catalyst, I'm sure somebody patched this. > > If that doesn't help, I'd suggest using > > /namespace/id/<id>/edit
Interesting twist. Reminds me of the RHOX stuff.. users/id/<id> users/name/<name> etc. Damnit. Now you have me thinking again. That setup is a great reason to keep REST and web controllers seperated. :/ -=Chris
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/
