FIX: Add back group redirects

This commit is contained in:
Robin Ward 2020-07-28 10:59:18 -04:00
parent 0c7eaa57b2
commit c9485692ed
1 changed files with 5 additions and 0 deletions

View File

@ -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
let siteSettings = container.lookup("site-settings:main");
initializeDefaultHomepage(siteSettings);