started work datasources admin

This commit is contained in:
Torkel Ödegaard
2014-12-16 12:04:08 +01:00
parent f665a30d28
commit b70a3f0958
14 changed files with 104 additions and 21 deletions

View File

@ -25,6 +25,10 @@ func Register(m *macaron.Macaron) {
m.Post("/api/account/using/:id", auth, SetUsingAccount)
m.Get("/api/account/others", auth, GetOtherAccounts)
// datasources
m.Get("/admin/datasources/", auth, Index)
m.Get("/api/admin/datasources/", auth, GetDataSources)
// user register
m.Get("/register/*_", Index)
m.Post("/api/account", CreateAccount)