mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821 Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
11 lines
222 B
JavaScript
11 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);
|
|
}
|
|
});
|