[Catalyst] No default action defined.

Alexandre Jousset mid at gtmp.org
Thu Dec 21 15:09:07 GMT 2006


	Hello,

Ryan Detzel wrote:
> OK, been working on this App for probably six months and I've never had 
> any issues. I turn on my computer, start it up and browse to the page 
> and get the message "No default action defined".  Hmm...maybe I upgraded 
> something?  I have a default : Private in the Root controller but it 
> does not seem to find it. If I put that default in the main app 
> controller it finds that...what changed?

	Maybe a line like this :

----------------------------------------------------
#
# Sets the actions in this controller to be registered with no prefix
# so they function identically to actions created in MyApp.pm
#
__PACKAGE__->config->{namespace} = '';
----------------------------------------------------

	is missing in your Root controller ?

	HTH,
-- 
--      \^/                                            --
--    -/ O \---------------------------------------    --
--   | |/ \|      Alexandre (Midnite) Jousset      |   --
--    -|___|---------------------------------------    --



More information about the Catalyst mailing list