mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:08:44 +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");
|
|
},
|
|
});
|