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

12 lines
222 B
Plaintext
Raw Normal View History

2018-06-15 23:03:24 +08:00
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) {
2018-06-15 23:03:24 +08:00
controller.set("model", model);
2015-07-15 20:54:28 +08:00
}
});