summaryrefslogtreecommitdiffstats
path: root/funcweb/funcweb/controllers.py
blob: 5206727b02c85adb5faf2f2ea07ebb645fe78452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from turbogears import controllers, expose, flash
# from model import *
# import logging
# log = logging.getLogger("funcweb.controllers")

class Root(controllers.RootController):
    @expose(template="funcweb.templates.welcome")
    def index(self):
        import time
        # log.debug("Happy TurboGears Controller Responding For Duty")
        flash("Your application is now running")
        return dict(now=time.ctime())