mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 21:20:57 +08:00
12 lines
303 B
JavaScript
Vendored
12 lines
303 B
JavaScript
Vendored
import DiscourseRoute from "discourse/routes/discourse";
|
|
import Permalink from "admin/models/permalink";
|
|
|
|
export default class AdminPermalinksRoute extends DiscourseRoute {
|
|
model() {
|
|
return Permalink.findAll();
|
|
}
|
|
|
|
setupController(controller, model) {
|
|
controller.set("model", model);
|
|
}
|
|
}
|