[Catalyst] Root controller index() vs auto()

leonard.a.jaffe at jpmchase.com leonard.a.jaffe at jpmchase.com
Wed Aug 2 20:27:18 CEST 2006

> "Brandon Black" <blblack at gmail.com> 08/02/2006 01:49 PM
> > On 8/2/06, leonard.a.jaffe at jpmchase.com <leonard.a.jaffe at jpmchase.com 
> wrote:
> > Should I be worried that /index isn't executing by default in my root 
> > 
> There are some known issues with the "index" special action name in Root 
> but they've been difficult to track down, and are specific to the engine 
you're running 
> (test server vs mod_perl vs fastcgi, etc). 
> For me, the best workaround has been to replace
> sub index : Private { ... }
> with:
> sub _index : Path('/') { ... }

Nothing is allowed to be simple for me :-)

I made that change, and now Cat tells me:
[error] No default action defined

When I put it back to index:Private, the app runs again, just not 
using index()  [sigh].


This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060802/5bcac7be/attachment.htm 

More information about the Catalyst mailing list