mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 12:53:39 +08:00
6273dfad4b
- moves loading scopes to controller - avoids declaring array - simplify code
8 lines
141 B
JavaScript
8 lines
141 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
|
model() {
|
|
return this.store.createRecord("api-key");
|
|
},
|
|
});
|