Set active account now works again

This commit is contained in:
Torkel Ödegaard
2014-12-15 21:56:16 +01:00
parent 973b9cad36
commit 705455d5d6
8 changed files with 49 additions and 36 deletions

View File

@ -22,6 +22,7 @@ func Register(m *macaron.Macaron) {
m.Get("/account/", auth, Index)
m.Get("/api/account/", auth, GetAccount)
m.Post("/api/account/collaborators/add", auth, AddCollaborator)
m.Post("/api/account/using/:id", auth, SetUsingAccount)
m.Get("/api/account/others", auth, GetOtherAccounts)
// user register