mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 03:54:47 +08:00
FIX: reliably reorder link in custom sections (#24188)
Two changes were introduced: 1. Reorder links on sidebar section is removed. Clicking and holding the mouse for 250ms was unintuitive; 2. Fixed bugs when reorder is done in edit modal.
This commit is contained in:

committed by
GitHub

parent
1d96b0a99a
commit
1c395e1a01
@ -1607,7 +1607,6 @@ Discourse::Application.routes.draw do
|
||||
delete "user-status" => "user_status#clear"
|
||||
|
||||
resources :sidebar_sections, only: %i[index create update destroy]
|
||||
post "/sidebar_sections/reorder" => "sidebar_sections#reorder"
|
||||
put "/sidebar_sections/reset/:id" => "sidebar_sections#reset"
|
||||
|
||||
get "*url", to: "permalinks#show", constraints: PermalinkConstraint.new
|
||||
|
Reference in New Issue
Block a user