Also deduplicate forum category redirect regex.
This commit is contained in:
parent
0a56450c38
commit
0ae839b26a
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ final class RedirectorRoutes {
|
|||
$router->get('/[up]/([A-Za-z0-9\-_]+)', $this->redirectProfile(...));
|
||||
|
||||
// forum categories
|
||||
$router->get('/f/?([0-9]+)', $this->redirectForumCategory(...));
|
||||
$router->get('/fc/?([0-9]+)', $this->redirectForumCategory(...));
|
||||
$router->get('/fc?/?([0-9]+)', $this->redirectForumCategory(...));
|
||||
|
||||
// forum topic
|
||||
$router->get('/ft/?([0-9]+)', $this->redirectForumTopic(...));
|
||||
|
|
Loading…
Reference in a new issue