[Bps-public-commit] r16075 - in Prophet/branches/dispatcher: lib/Prophet/CLI

sartak at bestpractical.com sartak at bestpractical.com
Thu Sep 25 16:45:06 EDT 2008


Author: sartak
Date: Thu Sep 25 16:45:05 2008
New Revision: 16075

Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm

Log:
 r72486 at onn:  sartak | 2008-09-25 16:44:43 -0400
 Support for "update ticket" and "delete attachment"


Modified: Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	Thu Sep 25 16:45:05 2008
@@ -38,10 +38,10 @@
     $server->run;
 };
 
-on ['create', qr/.*/] => sub {
+on [ ['create', 'update', 'delete'], qr/.*/] => sub {
     my $self = shift;
     $self->context->type($2);
-    run('create', $self);
+    run($1, $self);
 };
 
 on ['create'] => sub {



More information about the Bps-public-commit mailing list