mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Use category ids in URLs preferentially
This commit is contained in:
@@ -2683,7 +2683,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
"/c/bug/l/latest.json": {
|
||||
"/c/bug/1/l/latest.json": {
|
||||
users: [
|
||||
{ id: 1, username: "sam", avatar_template: "/images/avatar.png" },
|
||||
{
|
||||
@@ -3863,7 +3863,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
"/c/feature/l/latest.json": {
|
||||
"/c/feature/2/l/latest.json": {
|
||||
users: [
|
||||
{ id: 1, username: "sam", avatar_template: "/images/avatar.png" },
|
||||
{
|
||||
@@ -4935,7 +4935,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
"/c/dev/l/latest.json": {
|
||||
"/c/dev/7/l/latest.json": {
|
||||
users: [
|
||||
{ id: 1, username: "sam", avatar_template: "/images/avatar.png" },
|
||||
{
|
||||
|
||||
@@ -64,8 +64,8 @@ export default function() {
|
||||
return response(json);
|
||||
});
|
||||
|
||||
this.get("/c/bug/l/latest.json", () => {
|
||||
const json = fixturesByUrl["/c/bug/l/latest.json"];
|
||||
this.get("/c/bug/1/l/latest.json", () => {
|
||||
const json = fixturesByUrl["/c/bug/1/l/latest.json"];
|
||||
|
||||
if (loggedIn()) {
|
||||
// Stuff to let us post
|
||||
|
||||
Reference in New Issue
Block a user