FIX: Group pages should work when group name contains periods.
https://meta.discourse.org/t/group-name-cant-have-dot-inside/48658
This commit is contained in:
@@ -11,7 +11,7 @@ acceptance("Group logs", {
|
||||
];
|
||||
};
|
||||
|
||||
server.get('/groups/snorlax', () => { // eslint-disable-line no-undef
|
||||
server.get('/groups/snorlax.json', () => { // eslint-disable-line no-undef
|
||||
return response({"group":{"id":41,"automatic":false,"name":"snorlax","user_count":1,"alias_level":0,"visible":true,"automatic_membership_email_domains":"","automatic_membership_retroactive":false,"primary_group":true,"title":"Team Snorlax","grant_trust_level":null,"incoming_email":null,"has_messages":false,"flair_url":"","flair_bg_color":"","flair_color":"","bio_raw":"","bio_cooked":null,"public":true,"is_group_user":true,"is_group_owner":true}});
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default {
|
||||
"/groups/moderators":{
|
||||
"/groups/moderators.json":{
|
||||
"group": {
|
||||
"id": 50,
|
||||
"automatic": true,
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
"messageable": true
|
||||
},
|
||||
},
|
||||
"/groups/discourse":{
|
||||
"/groups/discourse.json":{
|
||||
"group":{
|
||||
"id":47,
|
||||
"automatic":false,
|
||||
|
||||
Reference in New Issue
Block a user