cf50a7deb3
* Apply prettier * applied prettier for similar-topics-validator Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
10 Zeilen
326 B
JavaScript
10 Zeilen
326 B
JavaScript
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", {});
|
|
},
|
|
});
|