Remove our dependency on Catalyst::Action::REST. We were only using it
[catagits/Catalyst-Engine-STOMP.git] / testapp / lib / StompTestApp / Controller / TestController.pm
index a3b83b2..d086637 100644 (file)
@@ -6,11 +6,16 @@ use namespace::autoclean;
 BEGIN { extends 'Catalyst::Controller::MessageDriven' };
 
 sub testaction : Local {
-    my ($self, $c) = @_;
+    my ($self, $c, $request) = @_;
 
     # Reply with a minimal response message
     my $response = { type => 'testaction_response' };
     $c->stash->{response} = $response;
 }
 
+sub badaction : Local {
+    my ($self, $c, $request) = @_;
+    die "oh noes";
+}
+
 1;