--- a/ForgeChat/forgechat/main.py
+++ b/ForgeChat/forgechat/main.py
@@ -101,7 +101,6 @@
class AdminController(DefaultAdminController):
@with_trailing_slash
- @expose('forgechat.templates.admin')
def index(self, **kw):
redirect('options')
@@ -123,7 +122,7 @@
now = datetime.utcnow()
redirect(c.app.url + now.strftime('%Y/%m/%d/'))
- @expose('forgechat.templates.search')
+ @expose('jinja:chat_search.html')
@validate(dict(q=validators.UnicodeString(if_empty=None),
history=validators.StringBool(if_empty=False)))
def search(self, q=None, history=None):
@@ -152,7 +151,7 @@
def __init__(self, day):
self.day = day
- @expose('forgechat.templates.day')
+ @expose('jinja:chat_day.html')
def index(self, **kw):
q = dict(
timestamp={