projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added plugin() method for instant plugins
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Test.pm
diff --git
a/lib/Catalyst/Test.pm
b/lib/Catalyst/Test.pm
index
10c52a5
..
2f91020
100644
(file)
--- a/
lib/Catalyst/Test.pm
+++ b/
lib/Catalyst/Test.pm
@@
-27,12
+27,12
@@
Catalyst::Test - Test Catalyst applications
use Catalyst qw[-Engine=Test];
- __PACKAGE__->action(
- foo => sub {
+ sub foo : Global {
my ( $self, $c ) = @_;
$c->res->output('bar');
- }
- );
+ }
+
+ __PACKAGE__->setup();
package main;