mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 08:33:51 +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");
|
|
},
|
|
});
|