Re: [Catalyst] Organizing link generators

2010-11-11 Thread Alexander Hartmaier
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. -- Best regards, Alex On Sat, 2010-10-23 at 18:57 +0200, Eden Cardim wrote:

Re: [Catalyst] Organizing link generators

2010-10-23 Thread Eden Cardim
Evan == Evan Carroll m...@evancarroll.com writes: Evan My view often needs to generate complex links for chained Evan actions. Does anyone have a better way of doing this then Evan recreating the link generators in the controller? $c-stash-{generate_link_edit} = sub { my $vin =

[Catalyst] Organizing link generators

2010-10-22 Thread Evan Carroll
My view often needs to generate complex links for chained actions. Does anyone have a better way of doing this then recreating the link generators in the controller? $c-stash-{generate_link_edit} = sub { my $vin = shift; $c-uri_for_action( '/auth/company/lot/vin/edit' , [