[Mpuls-commits] r1253 - wasko/branches/2.0/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 4 18:07:59 CET 2010
Author: torsten
Date: 2010-02-04 18:07:55 +0100 (Thu, 04 Feb 2010)
New Revision: 1253
Added:
wasko/branches/2.0/mpulsweb/controllers/mpuls.py
Log:
Added new controller for the landing page (blackboard)
* mpulsweb/controllers/mpuls.py
mpulsweb/tests/functional/test_mpuls.py
Added: wasko/branches/2.0/mpulsweb/controllers/mpuls.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/mpuls.py 2010-02-04 17:07:26 UTC (rev 1252)
+++ wasko/branches/2.0/mpulsweb/controllers/mpuls.py 2010-02-04 17:07:55 UTC (rev 1253)
@@ -0,0 +1,16 @@
+import logging
+
+from pylons import request, response, session, tmpl_context as c
+from pylons.controllers.util import abort, redirect_to
+
+from mpulsweb.lib.base import BaseController, render
+
+log = logging.getLogger(__name__)
+
+class MpulsController(BaseController):
+
+ def index(self):
+ # Return a rendered template
+ #return render('/mpuls.mako')
+ # or, return a response
+ return 'Hello World'
More information about the Mpuls-commits
mailing list