mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 18:03:43 +08:00
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
|
import { service } from "@ember/service";
|
||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
|
||
|
export default class AdminPermalinksEditRoute extends DiscourseRoute {
|
||
|
@service store;
|
||
|
|
||
|
model(params) {
|
||
|
return this.store.find("permalink", params.permalink_id);
|
||
|
}
|
||
|
}
|