Archived
Drag and drop to reorder users
This commit is contained in:
1 parent
1194bdd9b4
commit
21db2a2cba
21 files changed
+227
-301
No files matched your search
@@ -28,7 +28,7 @@ class Admin::ItemsController < OrbitBackendController
|
||||
def update_position
|
||||
item = Item.find(params[:id])
|
||||
item.shift_to(params[:parent_id], params[:position].to_i - 1)
|
||||
render :nothing => true
|
||||
render :nothing => true, status: 200
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user