projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Returned the foo() action to TestAppPathBug.pm so it tests the right bug. Added a...
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestAppPathBug.pm
diff --git
a/t/lib/TestAppPathBug.pm
b/t/lib/TestAppPathBug.pm
index
04582a7
..
a91b5fe
100644
(file)
--- a/
t/lib/TestAppPathBug.pm
+++ b/
t/lib/TestAppPathBug.pm
@@
-3,6
+3,8
@@
use warnings;
package TestAppPathBug;
+BEGIN { $SIG{__WARN__} = sub {}; };
+
use Catalyst;
our $VERSION = '0.01';
@@
-11,4
+13,9
@@
__PACKAGE__->config( name => 'TestAppPathBug', root => '/some/dir' );
__PACKAGE__->setup;
+sub foo : Path {
+ my ( $self, $c ) = @_;
+ $c->res->body( 'This is the foo method.' );
+}
+
1;