feat(preferences): removed unused api prefernce methods, these need to be abstracted more from an http api perpsective, they are too low level for the http api, #4399

This commit is contained in:
Torkel Ödegaard committed 2016-03-20 11:54:24 +01:00
1 parent 7023dedc05
commit 5e431149cd
2 files changed
-36

No files matched your search

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