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

12 lines
222 B
Plaintext
Raw Normal View History

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