Home dashboard per user per org works

This commit is contained in:
utkarshcmu
2016-03-17 01:38:18 -07:00
parent 66621d762e
commit 4fbe954a79
2 changed files with 19 additions and 5 deletions

View File

@ -162,7 +162,7 @@ func Register(r *macaron.Macaron) {
// Preferences
r.Group("/preferences", func() {
r.Get("/", wrap(GetPreferences))
r.Get("/", GetPreferences)
r.Put("/", bind(m.SavePreferencesCommand{}), wrap(SavePreferences))
r.Post("/set-home-dash", bind(m.SavePreferencesCommand{}), wrap(SetHomeDashboard))
})