discourse/app/assets/javascripts/admin/addon/routes/admin-permalinks.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
303 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
import Permalink from "admin/models/permalink";
export default class AdminPermalinksRoute extends DiscourseRoute {
2015-07-15 08:54:28 -04:00
model() {
return Permalink.findAll();
}
2015-07-15 08:54:28 -04:00
setupController(controller, model) {
controller.set("model", model);
}
}