mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:08:44 +08:00
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default class AdminEmbeddingRoute extends Route {
|
|
model() {
|
|
return this.store.find("embedding");
|
|
}
|
|
|
|
setupController(controller, model) {
|
|
controller.set("embedding", model);
|
|
}
|
|
}
|