add options , config

This commit is contained in:
Jay
2018-05-08 16:19:51 +08:00
parent 80e5f0b19c
commit fe884e6931
10 changed files with 172 additions and 12 deletions
+2 -3
View File
@@ -3,7 +3,6 @@ package middleware
import (
"git.trj.tw/golang/go-gallery/models"
"git.trj.tw/golang/go-gallery/modules/context"
"git.trj.tw/golang/go-gallery/modules/utils"
)
// GetAlbumToNext -
@@ -30,8 +29,8 @@ func GetAlbumToNext(c *context.Context) {
return
}
albumMap := utils.ToMap(album)
c.Set("album", albumMap)
// albumMap := utils.ToMap(album)
c.Set("album", album)
c.Next()
}