2019-10-22 09:46:10 -04:00
|
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
2015-11-20 20:27:06 -05:00
|
|
|
import Permalink from "admin/models/permalink";
|
|
|
|
|
2023-03-15 09:17:51 -04:00
|
|
|
export default class AdminPermalinksRoute extends DiscourseRoute {
|
2015-07-15 08:54:28 -04:00
|
|
|
model() {
|
2015-11-20 20:27:06 -05:00
|
|
|
return Permalink.findAll();
|
2023-03-15 09:17:51 -04:00
|
|
|
}
|
2015-07-15 08:54:28 -04:00
|
|
|
|
|
|
|
setupController(controller, model) {
|
|
|
|
controller.set("model", model);
|
2023-03-15 09:17:51 -04:00
|
|
|
}
|
|
|
|
}
|