mirror of
https://github.com/discourse/discourse.git
synced 2025-04-17 17:59:05 +08:00
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) {
|
||||
return ajax("directory-columns.json")
|
||||
return ajax("/directory-columns.json")
|
||||
.then((response) => {
|
||||
params.order = params.order || response.directory_columns[0].name;
|
||||
return { params, columns: response.directory_columns };
|
||||
|
Loading…
x
Reference in New Issue
Block a user