summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-04-14 17:34:16 -0700
committerSteve Manuel <nilslice@gmail.com>2017-04-14 17:34:16 -0700
commit1df78f4390b0153f48108ae1aa504719730d2b2f (patch)
tree7f9da51f9669ee4fba8dd2d82ec6618e157fe6b6 /system/db/init.go
parent167cbd869a26e2798ae56653c34eeb65d16e1d92 (diff)
parentfcb69059f0ef206efafffa6abc10dd4245280d12 (diff)
Merge branch 'master' of https://github.com/ponzu-cms/ponzu
Diffstat (limited to 'system/db/init.go')
-rw-r--r--system/db/init.go3
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