summaryrefslogtreecommitdiff
path: root/lib/presque.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presque.pm')
-rw-r--r--lib/presque.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/presque.pm b/lib/presque.pm
index a6dffd4..50a0178 100644
--- a/lib/presque.pm
+++ b/lib/presque.pm
@@ -30,7 +30,8 @@ sub h {
sub app {
my ($class, %args) = @_;
my $self = $class->new(
- [ '/q/(.*)' => h('presque::RestQueueHandler'),
+ [ '/qb/(.*)' => h('presque::RestQueueBatchHandler'),
+ '/q/(.*)' => h('presque::RestQueueHandler'),
'/j/(.*)' => h('presque::JobQueueHandler'),
'/w/(.*)' => h('presque::WorkerHandler'),
'/status/(.*)' => h('presque::StatusHandler'),