Example #1
0
func init() {
	revel.ERROR_CLASS = "error"
	revmgo.ControllerInit()
	revel.InterceptMethod(Admin.checkUser, revel.BEFORE)
}
Example #2
0
func init() {
	revmgo.ControllerInit()
	revel.InterceptMethod(Admin.checkUser, revel.BEFORE)
}