mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:52:11 +08:00
FIX: Can't set url
on topics, it is calculated from slugs
This commit is contained in:
parent
04881b10db
commit
2e8665ba43
|
@ -170,7 +170,7 @@ export function applyDefaultHandlers(pretender) {
|
|||
]
|
||||
},
|
||||
badges: [{ id: 444, count: 1 }],
|
||||
topics: [{ id: 1234, title: "cool title", url: "/t/1234/cool-title" }]
|
||||
topics: [{ id: 1234, title: "cool title", slug: "cool-title" }]
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user