[Catalyst] Re: Organizing link generators

Alexander Hartmaier alexander.hartmaier at t-systems.at
Fri Nov 12 14:33:04 GMT 2010

To me company, lot and vin in the url look like arguments, not

Best regards, Alex

On Thu, 2010-11-11 at 11:48 +0100, Aristotle Pagaltzis wrote:
> * Alexander Hartmaier <alexander.hartmaier at t-systems.at> [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.

More information about the Catalyst mailing list