Permalink
Browse files

Make items sortable in the ui

  • Loading branch information...
aubreyrhodes committed Apr 25, 2012
1 parent 6144d4d commit b1955327e0dae187bc7616a87bdddf6f0a6aec22
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/assets/javascripts/app/controllers/items.js.coffee
@@ -22,6 +22,7 @@ class Index extends Spine.Controller
render: =>
items = Item.all()
@html @view('items/index')(items: items)
+ $('.items').sortable()
destroy: (e) ->
item = $(e.target).item()

0 comments on commit b195532

Please sign in to comment.