Use virtual paths for voters page

Link to "/packages/$pkgname/voters/" instead of using "/voters/" and a
get parameter to request a specific package by ID.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-07-18 08:23:27 +02:00
parent 51b8213ff1
commit 7ad4bc352d
3 changed files with 12 additions and 5 deletions

View file

@ -14,7 +14,6 @@ $ROUTES = array(
'/rss' => 'rss.php',
'/submit' => 'pkgsubmit.php',
'/tu' => 'tu.php',
'/voters' => 'voters.php',
'/addvote' => 'addvote.php',
);