2020-06-22 02:13:10 +02:00
|
|
|
import Site from "discourse/models/site";
|
|
|
|
|
|
|
|
export default Site.reopenClass({
|
|
|
|
// There is no site data actually loaded by the CW yet. This placeholder is
|
|
|
|
// needed by imported classes
|
|
|
|
createCurrent() {
|
|
|
|
const store = Discourse.__container__.lookup("service:store");
|
|
|
|
return store.createRecord("site", {});
|
|
|
|
},
|
2021-03-28 11:06:49 +02:00
|
|
|
});
|