mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 14:13:46 +08:00
11 lines
265 B
JavaScript
11 lines
265 B
JavaScript
|
import Route from "@ember/routing/route";
|
||
|
import { service } from "@ember/service";
|
||
|
|
||
|
export default class AdminConfigFlagsEditRoute extends Route {
|
||
|
@service site;
|
||
|
|
||
|
model(params) {
|
||
|
return this.site.flagTypes.findBy("id", parseInt(params.flag_id, 10));
|
||
|
}
|
||
|
}
|