Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
13 Zeilen
372 B
Text
13 Zeilen
372 B
Text
|
export default {
|
||
|
run(app, container) {
|
||
|
const { createHelperContext } = requirejs("discourse-common/lib/helpers");
|
||
|
|
||
|
createHelperContext({
|
||
|
siteSettings: container.lookup('site-settings:main'),
|
||
|
site: container.lookup("site:main"),
|
||
|
session: container.lookup("session:main"),
|
||
|
capabilities: container.lookup("capabilities:main"),
|
||
|
});
|
||
|
}
|
||
|
}
|