From: Eevee Date: Tue, 18 May 2010 04:20:10 +0000 (-0700) Subject: Stub out some real forum display stuff. X-Git-Tag: veekun-promotions/2010060201~2 X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/commitdiff_plain/3e9456eb438e2ce529eb6100170bc88de706eb2e Stub out some real forum display stuff. --- diff --git a/splinext/forum/controllers/forum.py b/splinext/forum/controllers/forum.py index 77e3fe4..93eaed4 100644 --- a/splinext/forum/controllers/forum.py +++ b/splinext/forum/controllers/forum.py @@ -25,6 +25,8 @@ class ForumController(BaseController): except NoResultFound: abort(404) + c.threads = c.forum.threads + return render('/forum/threads.mako') def posts(self, forum_id, thread_id): @@ -34,4 +36,4 @@ class ForumController(BaseController): except NoResultFound: abort(404) - return render('/forum/threads.mako') + return render('/forum/posts.mako') diff --git a/splinext/forum/templates/forum/forums.mako b/splinext/forum/templates/forum/forums.mako index 37c5770..24d59a8 100644 --- a/splinext/forum/templates/forum/forums.mako +++ b/splinext/forum/templates/forum/forums.mako @@ -2,8 +2,10 @@ <%def name="title()">Forums -