mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
11 lines
218 B
JavaScript
11 lines
218 B
JavaScript
import Route from "@ember/routing/route";
|
|
export default Route.extend({
|
|
model() {
|
|
return this.store.find("embedding");
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("embedding", model);
|
|
}
|
|
});
|