class WrcontrollerController(BaseController):
- def index(self):
- return render('index.html')
+ def index(self):
+ return render('index.html')
- def rodelbahnbox(self, update=False):
- "update ... update the database from the Rodelbahnbox structures"
- if update:
- try: c.sledding_routes = update_rodelbahnbox()
- except Exception, e:
- c.update_error = unicode_e(e)
- c.update_performed = update
- c.update_success = hasattr(c, 'sledding_routes')
- return render('rodelbahnbox.html')
+ def rodelbahnbox(self, update=False):
+ "update ... update the database from the Rodelbahnbox structures"
+ if update:
+ try: c.sledding_routes = update_rodelbahnbox()
+ except Exception, e:
+ c.update_error = unicode_e(e)
+ c.update_performed = update
+ c.update_success = hasattr(c, 'sledding_routes')
+ return render('rodelbahnbox.html')
- def forumlink(self, **kw):
- c.sledding_routes = query_sledding_routes()
- return render('forumlink.html')
+ def forumlink(self, **kw):
+ c.sledding_routes = query_sledding_routes()
+ return render('forumlink.html')