Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: CUBABIT [...] cpan.org
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 729b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.