projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97fb7fb
)
accept anything for args
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 11 Mar 2011 20:07:32 +0000
(20:07 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 11 Mar 2011 20:07:32 +0000
(20:07 +0000)
web_ui.pl
patch
|
blob
|
history
diff --git
a/web_ui.pl
b/web_ui.pl
index
664c904
..
d7a3a58
100755
(executable)
--- a/
web_ui.pl
+++ b/
web_ui.pl
@@
-33,7
+33,7
@@
get '/ping_g' => sub {
$self->render( 'ping', pong => $pong );
};
-get '/g/:call/:args' => sub {
+get '/g/:call/:args' =>
[ args => qr/.*/ ] =>
sub {
my $self = shift;
my $ret = $gearman->req( 'SUBMIT_JOB', $self->param('call'), '', $self->param('args') );
warn $self->param('call'), " = ", dump($ret), "\n";