To me company, lot and vin in the url look like arguments, not PathParts. -- Best regards, Alex
On Thu, 2010-11-11 at 11:48 +0100, Aristotle Pagaltzis wrote: > * Alexander Hartmaier <[email protected]> [2010-11-11 09:00]: > > I strongly advise to use > > $c->controller('Auth')->action_for('edit') instead of > > '/auth/company/lot/vin/edit' to not let Catalyst guess what you > > mean. The string can fail if you have a typo in it and will be > > hard to spot. > > No, that would be `$c->controller('Auth::Company::Lot::Vin')`. > > I use the action paths in our app and haven’t had any serious > trouble. > > You can always wrap `uri_for_action` or `uri_for` in your > application class to throw an error if it’s a real issue, anyway. > > Regards, *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* _______________________________________________ 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/
