|
a/ForgeChat/forgechat/main.py |
|
b/ForgeChat/forgechat/main.py |
|
... |
|
... |
47 |
def __init__(self, project, config):
|
47 |
def __init__(self, project, config):
|
48 |
Application.__init__(self, project, config)
|
48 |
Application.__init__(self, project, config)
|
49 |
self.channel = CM.ChatChannel.query.get(app_config_id=config._id)
|
49 |
self.channel = CM.ChatChannel.query.get(app_config_id=config._id)
|
50 |
self.root = RootController()
|
50 |
self.root = RootController()
|
51 |
self.admin = AdminController(self)
|
51 |
self.admin = AdminController(self)
|
|
|
52 |
|
|
|
53 |
def main_menu(self):
|
|
|
54 |
return [SitemapEntry(self.config.options.mount_label.title(), '.')]
|
52 |
|
55 |
|
53 |
@property
|
56 |
@property
|
54 |
@h.exceptionless([], log)
|
57 |
@h.exceptionless([], log)
|
55 |
def sitemap(self):
|
58 |
def sitemap(self):
|
56 |
menu_id = self.config.options.mount_label.title()
|
59 |
menu_id = self.config.options.mount_label.title()
|