FIX: Use updated routes to link user profiles (#60)

FIX links to user profiles from the old route `/users/` to the new route `/u/`.
This commit is contained in:
Rishabh 2020-08-18 15:01:05 +05:30 committed by GitHub
parent 8bdfd845db
commit fe420931ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@
</td>
<td class="query-created-by">
{{#if query.username}}
<a href="/users/{{query.username}}/activity">
<a href="/u/{{query.username}}/activity">
<medium>{{query.username}}</medium>
</a>
{{/if}}

View File

@ -1,5 +1,5 @@
{{#if user}}
<a href="{{baseuri}}/users/{{user.username}}/activity"
<a href="{{baseuri}}/u/{{user.username}}/activity"
data-user-card="{{user.username}}">{{avatar user imageSize="tiny"}} {{user.username}}</a>
{{else}}
{{id}}