Update reversi.vue

This commit is contained in:
syuilo 2019-01-21 17:20:41 +09:00
parent 18aba17989
commit f1243cf4c1

View file

@ -20,10 +20,10 @@ export default Vue.extend({
methods: { methods: {
nav(game, actualNav) { nav(game, actualNav) {
if (actualNav) { if (actualNav) {
this.$router.push(`/reversi/${game.id}`); this.$router.push(`/games/reversi/${game.id}`);
} else { } else {
// TODO: https://github.com/vuejs/vue-router/issues/703 // TODO: https://github.com/vuejs/vue-router/issues/703
this.$router.push(`/reversi/${game.id}`); this.$router.push(`/games/reversi/${game.id}`);
} }
} }
} }