mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:42:22 +08:00
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:
@ -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))
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user