mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 09:33:41 +08:00
12 lines
222 B
JavaScript
12 lines
222 B
JavaScript
import Permalink from 'admin/models/permalink';
|
|
|
|
export default Discourse.Route.extend({
|
|
model() {
|
|
return Permalink.findAll();
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set('model', model);
|
|
}
|
|
});
|