summaryrefslogtreecommitdiff
path: root/app/models/menu_item.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-09 14:45:12 +0200
committerhukl <contact@smyck.org>2009-08-09 14:45:12 +0200
commit97aecb984afa6a7d8d1424f544b8e32d8c87603d (patch)
tree8939b12d327875241179c07ac975871cabdb582c /app/models/menu_item.rb
parent72593784d6d580ea8cc6987a83cf7b18167aba80 (diff)
added sorting (via drag and drop) and deleting of menu items. Its not perfect though and needs more styling. I'm unsure about the proper route for the sort action. Will investigate.
Diffstat (limited to 'app/models/menu_item.rb')
-rw-r--r--app/models/menu_item.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/menu_item.rb b/app/models/menu_item.rb
index 666fdf4..e86be0e 100644
--- a/app/models/menu_item.rb
+++ b/app/models/menu_item.rb
@@ -2,4 +2,5 @@ class MenuItem < ActiveRecord::Base
2 2
3 translates :title 3 translates :title
4 4
5 acts_as_list
5end 6end