Updated dashboard to use latest ARN API

This commit is contained in:
Eduard Urbach 2017-06-26 17:02:04 +02:00
parent 2c67ddad95
commit d55775763e

View File

@ -19,7 +19,7 @@ func Get(ctx *aero.Context) string {
return frontpage.Get(ctx)
}
posts, err := arn.GetPosts()
posts, err := arn.AllPostsSlice()
if err != nil {
return ctx.Error(500, "Error fetching posts", err)