* 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,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
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/