Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 62577
Status: rejected
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: jjnapiork [...] cpan.org
Requestors: CUBABIT [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.80024
Fixed in: (no value)



I want to configure all the actions in my controller using my app's config file. According to Catalyst::Controller I can do this in the controller itself: __PACKAGE__->config( action => { '*' => { Chained => 'base', Args => 0 }, }, ); So I tried this in my config via Config::General: <controller Foo> <action "*"> Chained base Args 0 </action> </controller> But I get this error on startup: Couldn't load class (MyApp) because: Action "*" is not available from controller MyApp::Controller::Foo at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 193 It does the same without the quotes around the asterisk.
Hi, I'm closing this since it has nothing to do with catalyst. I recommend using some of the tools that come with config general to see exactly how its turning your configure file into Perl code.