diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 18:18:19 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 22:19:07 +0200 |
commit | c349cb2feafa1c2009e8f41c039edc661ef6e0be (patch) | |
tree | c3e8b4deb58458472a7c6bfec0764f107558cae4 /web/template/pkg_details.php | |
parent | fc657af7f6c52aabbb40b1da922672c554f72438 (diff) | |
download | aurweb-c349cb2feafa1c2009e8f41c039edc661ef6e0be.tar.xz |
Add virtual path support for package actions
This allows for using following URLs:
* /package/$pkg_name/flag: Flag a package out-of-date
* /package/$pkg_name/unflag: Unflag a package
* /package/$pkg_name/notify: Enable comment notifications
* /package/$pkg_name/unnotify: Disable comment notifications
* /package/$pkg_name/vote: Vote for the package
* /package/$pkg_name/unvote: Remove vote
Note that this code is very hackish and should be refactored once we
drop support for legacy URLs.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_details.php')
0 files changed, 0 insertions, 0 deletions