Update new readme

This commit is contained in:
Henrique Dias committed 2017-07-08 15:36:17 +01:00
1 parent e973fc266c
commit 18414dbc5e
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -105,6 +105,8 @@ const router = new Router({
})
router.beforeEach((to, from, next) => {
document.title = to.name
if (to.matched.some(record => record.meta.requiresAuth)) {
// this route requires auth, check if logged in
// if not, redirect to login page.