Commit f681c668 authored by Robert Knight's avatar Robert Knight

Remove unused route from the homepage

The new homepage is now only served at '/'.
'/new-homepage' was a temporary route only used during development.
parent 8cc87e4a
...@@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function () { ...@@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function () {
// setup route // setup route
var route = document.location.pathname; var route = document.location.pathname;
if (route.match('^/(new-homepage)?$')) { if (route === '/') {
new InstallerController(document.body); new InstallerController(document.body);
} else if (route.match('^/groups') === 0) { } else if (route.match('^/groups') === 0) {
setupGroupsController(route); setupGroupsController(route);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment