Skip to content

Commit

Permalink
fix(routing): use slug for routing on UserPage (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Apr 14, 2024
1 parent 73a5a87 commit 74e0ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/addWarningPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function () {
LinkButton.component(
{
href: app.route('user.warnings', {
username: this.user.username(),
username: this.user.slug(),
}),
icon: 'fas fa-exclamation-circle',
},
Expand Down

0 comments on commit 74e0ece

Please sign in to comment.