mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 13:03:45 +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");
|
|
},
|
|
});
|