Esempio n. 1
0
 def show(self, id, format='html'):
     c.user = model.Session.query(model.User).filter(model.User.id == id).first()
     c.title = c.user.name
     return render('/derived/users/show.mako')
Esempio n. 2
0
 def new(self):
     c.title = "Sign up"
     return render('/derived/users/new.mako')
Esempio n. 3
0
 def help(self):
     c.title = "Help"
     return render("/derived/pages/help.mako")
Esempio n. 4
0
 def about(self):
     c.title = "About"
     return render("/derived/pages/about.mako")
Esempio n. 5
0
 def contact(self):
     c.title = "Contact"
     return render("/derived/pages/contact.mako")
Esempio n. 6
0
 def home(self):
     c.title = "Home"
     return render("/derived/pages/home.mako")