mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
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);
|
|
}
|
|
});
|