Add endpoint to get reviewer for an in-progress project

This commit is contained in:
Alex Cabal 2025-01-07 21:42:28 -06:00
parent 87620287f1
commit bc16b1fff8
5 changed files with 110 additions and 2 deletions

View file

@ -2,5 +2,11 @@ RewriteRule ^/ebooks/([^\.]+?)/projects/new$ /projects/new.php?ebook-url-path=$
RewriteRule ^/projects/([\d]+)/edit$ /projects/edit.php?project-id=$1
# Query string may contain `indent=<BOOL>`.
RewriteRule ^/projects/([\d]+)/reviewer$ /projects/reviewer/get.php?project-id=$1 [QSA]
# Query string may contain `indent=<BOOL>`.
RewriteRule ^/ebooks/(.+?)/projects/in-progress/reviewer$ /projects/reviewer/get.php?url-path=$1 [QSA]
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^post$/"
RewriteRule ^/projects/([\d]+)$ /projects/post.php?project-id=$1 [L]