Added isStarred to search result hit, very inefficient loading right now but can be cached later on

This commit is contained in:
Torkel Ödegaard
2015-02-05 09:49:00 +01:00
parent 69e7279cff
commit 076905d14e
7 changed files with 45 additions and 30 deletions

View File

@@ -45,7 +45,6 @@ func Register(r *macaron.Macaron) {
r.Put("/", bind(m.UpdateUserCommand{}), UpdateUser)
r.Post("/using/:id", SetUsingAccount)
r.Get("/accounts", GetUserAccounts)
r.Get("/stars/", GetUserStars)
r.Post("/stars/dashboard/:id", StarDashboard)
r.Delete("/stars/dashboard/:id", UnstarDashboard)
})