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

12 lines
222 B
Plaintext
Raw Normal View History

2018-06-15 11:03:24 -04:00
import Permalink from "admin/models/permalink";
2015-07-15 08:54:28 -04:00
export default Discourse.Route.extend({
model() {
return Permalink.findAll();
2015-07-15 08:54:28 -04:00
},
setupController(controller, model) {
2018-06-15 11:03:24 -04:00
controller.set("model", model);
2015-07-15 08:54:28 -04:00
}
});