Re: [Catalyst] help with :Path and config

2011-04-08 Thread John M. Dlugosz

To achieve what you want, change the config:

__PACKAGE__-config-{path} = '/secret_path';

method index($c) :Path  {}


Charlie

Thanks.  I found that mentioned in the COntroller docs, once you mentioned it.  However, 
it also refers to :PathPrefix as well as :Local, :Path, etc, which I've not seen 
documented elsewhere.  What's that?



___
List: Catalyst@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/


Re: [Catalyst] help with :Path and config

2011-04-08 Thread Charlie Garrison

Good evening,

On 8/04/11 at 6:22 AM -0500, John M. Dlugosz 
wxju46g...@snkmail.com wrote:


Thanks.  I found that mentioned in the COntroller docs, once 
you mentioned it.  However, it also refers to :PathPrefix as 
well as :Local, :Path, etc, which I've not seen documented 
elsewhere.  What's that?


Different ways of defining actions, I don't think I can explain 
better than the docco. Maybe if you ask some specific questions...


I know they are mentioned in more than one place in the docco, 
so keep reading (or ask Google).


Charlie

--
   Ꮚ Charlie Garrison ♊ garri...@zeta.org.au

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt


___
List: Catalyst@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/