예제 #1
0
 def submit(self, room):
     if not c.obstacle.validate(request.params):
         return render('fail.mako')
     redirect(url(controller='room', 
         room=c.obstacle.direct(request.params), action='index'))
     
예제 #2
0
 def index(self, room):
     return render(c.obstacle.template+'.mako')
예제 #3
0
 def fail(self, room):
     return render('fail.mako')
예제 #4
0
 def index(self):
     c.main = scenario
     return render('/scenario.mako')