[Catalyst] Help System - Can a controller's index capture the remainder of the path as a series of arguments?

Alexander Hartmaier alexander.hartmaier at t-systems.at
Tue May 10 12:35:30 GMT 2011


If you want hostless uris take a look at Catalyst::Plugin::SmartURI.

Am 2011-03-31 19:35, schrieb Ronald J Kimball:
> 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
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
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