mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 16:14:01 +08:00
13 lines
317 B
JavaScript
13 lines
317 B
JavaScript
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
import { i18n } from "discourse-i18n";
|
||
|
|
||
|
export default class AdminUserFieldsEditRoute extends DiscourseRoute {
|
||
|
model(params) {
|
||
|
return this.store.find("user-field", params.id);
|
||
|
}
|
||
|
|
||
|
titleToken() {
|
||
|
return i18n("admin.user_fields.edit_header");
|
||
|
}
|
||
|
}
|