[Catalyst] Various ways to use c.uri_for

Kiffin Gish kiffin.gish at planet.nl
Sat Jan 9 11:51:04 GMT 2010


I noticed that in certain examples depending on the coder, sometimes the
following format is used:

    c.uri_for(c.controller('Users').action_for('list'))

and other times this fomat:

    c.uri_for('/users/list')

What's the difference and is there an advantage of using one or the
other?

Thanks alot in advance.

-- 
Kiffin Gish <Kiffin.Gish at planet.nl>
Gouda, The Netherlands





More information about the Catalyst mailing list