allow eviction of computer help for @geek

This commit is contained in:
Sam 2013-05-31 15:09:19 +10:00
parent d00ba60ad3
commit b35b3da077

View file

@ -30,7 +30,7 @@ Discourse.Route.buildRoutes(function() {
}); });
// the homepage is the first item of the 'top_menu' site setting // the homepage is the first item of the 'top_menu' site setting
var homepage = PreloadStore.get('siteSettings').top_menu.split("|")[0]; var homepage = PreloadStore.get('siteSettings').top_menu.split("|")[0].split(",")[0];
this.route(homepage, { path: '/' }); this.route(homepage, { path: '/' });
this.route('categories', { path: '/categories' }); this.route('categories', { path: '/categories' });