Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90de581

Browse files
riophaeposva
authored andcommittedMay 22, 2017
fix example (vuejs#30)
1 parent c4ac88d commit 90de581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎en/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default context => {
6767
const matchedComponents = router.getMatchedComponents()
6868
// no matched routes, reject with 404
6969
if (!matchedComponents.length) {
70-
reject({ code: 404 })
70+
return reject({ code: 404 })
7171
}
7272

7373
// the Promise should resolve to the app instance so it can be rendered

0 commit comments

Comments
 (0)
Please sign in to comment.