404 page 'added', actually just renders initial template
This commit is contained in:
parent
59125b4f35
commit
c90609fae7
@ -39,6 +39,6 @@ Router.route('/teacher', function() {
|
||||
this.redirect('/login');
|
||||
}
|
||||
});
|
||||
Router.plugin('dataNotFound', function() {
|
||||
this.redirect('/')
|
||||
Router.configure({
|
||||
notFoundTemplate: "initial"
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user