Drag and drop to reorder users

This commit is contained in:
chris committed 2013-10-07 15:53:54 +08:00
1 parent 1194bdd9b4
commit 21db2a2cba
21 files changed
+227 -301

No files matched your search

+1 -1
View File
@@ -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