[Catalyst] Help System - Can a controller's index capture the
remainder of the path as a series of arguments?
Ronald J Kimball
rkimball at pangeamedia.com
Thu Mar 31 17:35:10 GMT 2011
On Thu, Mar 31, 2011 at 1:31 PM, Octavian Rasnita <orasnita at gmail.com> wrote:
> In the templates where you will display the link to the Help file, you can use:
>
> <a href="[% c.uri_for_action('/help/index', c.req.path).path %]">Help</a>
What is the purpose of calling .path on the uri returned by
uri_for_action? Is there some reason the href should be just the
path, instead of the full URI?
Ronald
More information about the Catalyst
mailing list