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

10 lines
183 B
JavaScript

export default Discourse.Route.extend({
model() {
return Discourse.Permalink.findAll();
},
setupController(controller, model) {
controller.set('model', model);
}
});