def read(self, id): name = id.lower() c.word = model.Word.by_name(name) return render('word/read.html')
def index(self): c.words = model.Word.all() return render('word/index.html')