Move old routes to /p, use /nickname for user profiles

This commit is contained in:
Maxim Filippov 2018-12-06 04:05:35 +03:00
parent c3c75e0702
commit 6532462b95
13 changed files with 96 additions and 48 deletions

View file

@ -13,7 +13,7 @@
<img :src="message.author.avatar" />
</span>
<div class="chat-content">
<router-link class="chat-name" :to="{ name: 'user-profile', params: { id: message.author.id } }">
<router-link class="chat-name" :to="{ name: 'user-profile', params: { name: message.author.username } }">
{{message.author.username}}
</router-link>
<br>