discourse/app/assets/javascripts/admin/routes/admin-permalinks.js.es6
2018-06-15 17:03:24 +02:00

12 lines
222 B
JavaScript

import Permalink from "admin/models/permalink";
export default Discourse.Route.extend({
model() {
return Permalink.findAll();
},
setupController(controller, model) {
controller.set("model", model);
}
});