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

12 lines
222 B
Plaintext
Raw Normal View History

import Permalink from 'admin/models/permalink';
2015-07-15 20:54:28 +08:00
export default Discourse.Route.extend({
model() {
return Permalink.findAll();
2015-07-15 20:54:28 +08:00
},
setupController(controller, model) {
controller.set('model', model);
}
});