package TestApp::C::Foo::Bar;
TestApp->action(
- '!?default' => sub {
+ '!default' => sub {
my ( $self, $c ) = @_;
$c->res->output('yada');
}
use Catalyst::Test 'TestApp';
ok( get('/foo') =~ /bar/ );
-ok( get('/foo_bar/foo') =~ /yada/ );
+ok( get('/foo/bar/foo') =~ /yada/ );