From f334c93c0364d14a2b55641b155ad58f715a4b39 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Thu, 19 Mar 2015 13:39:37 +0100 Subject: Rewriting from scratch. --- app/controllers/init.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 app/controllers/init.go (limited to 'app/controllers/init.go') diff --git a/app/controllers/init.go b/app/controllers/init.go deleted file mode 100644 index a5c9096..0000000 --- a/app/controllers/init.go +++ /dev/null @@ -1,10 +0,0 @@ -package controllers - -import "github.com/revel/revel" - -func init() { - revel.OnAppStart(InitDB) // invoke InitDB function before - revel.InterceptMethod((*GormController).Begin, revel.BEFORE) - revel.InterceptMethod((*GormController).Commit, revel.AFTER) - revel.InterceptMethod((*GormController).Rollback, revel.FINALLY) -} -- cgit v1.2.3