mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:02:48 +08:00
FIX: Add back group redirects
This commit is contained in:
parent
0c7eaa57b2
commit
c9485692ed
|
@ -15,6 +15,11 @@ export default {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We are still using these for now
|
||||||
|
DiscourseURL.rewrite(/^\/group\//, "/groups/");
|
||||||
|
DiscourseURL.rewrite(/^\/groups$/, "/g");
|
||||||
|
DiscourseURL.rewrite(/^\/groups\//, "/g/");
|
||||||
|
|
||||||
// Initialize default homepage
|
// Initialize default homepage
|
||||||
let siteSettings = container.lookup("site-settings:main");
|
let siteSettings = container.lookup("site-settings:main");
|
||||||
initializeDefaultHomepage(siteSettings);
|
initializeDefaultHomepage(siteSettings);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user