Example #1
0
func (c App) Index() revel.Result {
	c.RenderArgs["games"] = history.GameList()
	return c.Render()
}
Example #2
0
func (c App) GameIndex() revel.Result {
	c.RenderArgs["games"] = history.GameList()
	return c.Render("Game.html")
}