func init() { revel.RegisterPlugin(GorpPlugin{}) revel.InterceptMethod((*GorpController).Begin, revel.BEFORE) revel.InterceptMethod(Application.AddUser, revel.BEFORE) revel.InterceptMethod(Hotels.checkUser, revel.BEFORE) revel.InterceptMethod((*GorpController).Commit, revel.AFTER) revel.InterceptMethod((*GorpController).Rollback, revel.FINALLY) }
func init() { MainCron = cron.New() revel.RegisterPlugin(JobsPlugin{}) }
func init() { revel.RegisterPlugin(app.TestRunnerPlugin{}) }