[Catalyst] Re: checking if an action exists before forwarding
    Aristotle Pagaltzis 
    pagaltzis at gmx.de
       
    Tue Mar 18 20:08:10 GMT 2008
    
    
  
* Jim Spath <jspath at pangeamedia.com> [2008-03-18 20:05]:
> if ($c->dispatcher->get_action_by_path($some_action_path)) {
>   $c->forward($some_action_path);
> }
>
> Is there a better way?
Something about that seems very wrong. Are you generating action
paths at runtime? Based on user data? What problem are you trying
to solve that way?
Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>
    
    
More information about the Catalyst
mailing list