summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-10 11:57:47 +0100
committerYorhel <git@yorhel.nl>2010-12-10 11:57:47 +0100
commit5c949ff5cb57fc56e05dde010cc852f0f1207ca0 (patch)
tree74f064e785a66b20f742896ebd7a2bc4436f2dbd /lib/VNDB/Handler/Misc.pm
parent3362cf0391fad05a0eed1bd11a54f4c97f5260db (diff)
Added vote listings for VNs and users (/[uv]+/votes)
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 187bd0ab..081bbb25 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -24,14 +24,12 @@ YAWF::register(
qr{v/search}, sub { $_[0]->resRedirect("/v/all?q=".uri_escape($_[0]->reqParam('q')), 'perm') },
qr{notes}, sub { $_[0]->resRedirect('/d8', 'perm') },
qr{faq}, sub { $_[0]->resRedirect('/d6', 'perm') },
- qr{v([1-9]\d*)/(?:stats|scr|votes)},
+ qr{v([1-9]\d*)/(?:stats|scr)},
sub { $_[0]->resRedirect("/v$_[1]", 'perm') },
qr{u/list(/[a-z0]|/all)?},
sub { my $l = defined $_[1] ? $_[1] : '/all'; $_[0]->resRedirect("/u$l", 'perm') },
qr{d([1-9]\d*)\.([1-9]\d*)},
- sub { $_[0]->resRedirect("/d$_[1]#$_[2]", 'perm') },
- qr{u([1-9]\d*)/votes},
- sub { $_[0]->resRedirect("/u$_[1]/list?v=1", 'perm') },
+ sub { $_[0]->resRedirect("/d$_[1]#$_[2]", 'perm') }
);