2022-03-16 12:33:34 +01:00
|
|
|
export default {
|
|
|
|
run(app, container) {
|
|
|
|
const { createHelperContext } = requirejs("discourse-common/lib/helpers");
|
|
|
|
|
|
|
|
createHelperContext({
|
2022-06-15 08:59:09 +02:00
|
|
|
siteSettings: container.lookup("site-settings:main"),
|
2022-03-16 12:33:34 +01:00
|
|
|
site: container.lookup("site:main"),
|
|
|
|
session: container.lookup("session:main"),
|
|
|
|
capabilities: container.lookup("capabilities:main"),
|
|
|
|
});
|
2022-06-15 08:59:09 +02:00
|
|
|
},
|
|
|
|
};
|