FIX: Absolute path for directory-columns.json (#13488)
This commit is contained in:
parent
fc0da499f8
commit
75afd50cea
|
@ -39,7 +39,7 @@ export default DiscourseRoute.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
model(params) {
|
model(params) {
|
||||||
return ajax("directory-columns.json")
|
return ajax("/directory-columns.json")
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
params.order = params.order || response.directory_columns[0].name;
|
params.order = params.order || response.directory_columns[0].name;
|
||||||
return { params, columns: response.directory_columns };
|
return { params, columns: response.directory_columns };
|
||||||
|
|
Loading…
Reference in New Issue