Remove obsolete href method

This commit is contained in:
Robert Schäfer 2019-04-17 00:08:03 +02:00
parent c4577aa3e8
commit 00046a5429
2 changed files with 0 additions and 16 deletions

View File

@ -103,14 +103,6 @@ export default {
if (!author) return false if (!author) return false
return this.user.id === this.post.author.id return this.user.id === this.post.author.id
} }
},
methods: {
href(post) {
return this.$router.resolve({
name: 'post-id-slug',
params: { id: post.id, slug: post.slug }
}).href
}
} }
} }
</script> </script>

View File

@ -57,14 +57,6 @@ export default {
return excerpt return excerpt
} }
},
methods: {
href(post) {
return this.$router.resolve({
name: 'post-id-slug',
params: { id: post.id, slug: post.slug }
}).href
}
} }
} }
</script> </script>