2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

UX: Default user facing routes to /g instead of /groups. (#7042)

This commit is contained in:
Guo Xiang Tan 2019-02-21 13:44:25 +08:00 committed by GitHub
parent 07b856700d
commit 46e62c0d22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 102 additions and 101 deletions

View file

@ -48,7 +48,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
return automaticGroups
.map(group => {
const name = Ember.String.htmlSafe(group.name);
return `<a href="/groups/${name}">${name}</a>`;
return `<a href="/g/${name}">${name}</a>`;
})
.join(", ");
},