mirror of
https://github.com/flarum/core.git
synced 2025-07-24 10:11:43 +02:00
Use slug for user mentions page
This commit is contained in:
@@ -58,7 +58,7 @@ app.initializers.add('flarum-mentions', function() {
|
||||
const user = this.user;
|
||||
items.add('mentions',
|
||||
LinkButton.component({
|
||||
href: app.route('user.mentions', {username: user.username()}),
|
||||
href: app.route('user.mentions', {username: user.slug()}),
|
||||
name: 'mentions',
|
||||
icon: 'fas fa-at'
|
||||
}, app.translator.trans('flarum-mentions.forum.user.mentions_link')),
|
||||
|
Reference in New Issue
Block a user