diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-14 17:34:16 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-14 17:34:16 -0700 |
commit | 1df78f4390b0153f48108ae1aa504719730d2b2f (patch) | |
tree | 7f9da51f9669ee4fba8dd2d82ec6618e157fe6b6 /system/db/init.go | |
parent | 167cbd869a26e2798ae56653c34eeb65d16e1d92 (diff) | |
parent | fcb69059f0ef206efafffa6abc10dd4245280d12 (diff) |
Merge branch 'master' of https://github.com/ponzu-cms/ponzu
Diffstat (limited to 'system/db/init.go')
-rw-r--r-- | system/db/init.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/db/init.go b/system/db/init.go index 4e9c3cf..3fc35f5 100644 --- a/system/db/init.go +++ b/system/db/init.go @@ -4,6 +4,7 @@ import ( "log" "github.com/ponzu-cms/ponzu/system/item" + "github.com/ponzu-cms/ponzu/system/search" "github.com/boltdb/bolt" "github.com/nilslice/jwt" @@ -80,7 +81,7 @@ func Init() { go func() { for t := range item.Types { - err := MapSearchIndex(t) + err := search.MapIndex(t) if err != nil { log.Fatalln(err) return |