Improve code in items, pages, links

This commit is contained in:
Christophe Vilayphiou committed 2012-02-17 14:54:11 +08:00
1 parent cf4a6c0b35
commit 0b71714d44
7 files changed
+37 -63

No files matched your search

-15
View File
@@ -15,21 +15,6 @@ class Admin::ItemsController < ApplicationController
@item = get_homepage
end
end
#TODO
# Allow to move items down and up different parents
# def up
# @item = Item.find(params[:id])
# @item.move_higher
# redirect_to admin_items_url( :parent_name => @item.parent_name )
# end
#
# def down
# @item = Item.find(params[:id])
# @item.move_lower
# redirect_to admin_items_url( :parent_name => @item.parent_name )
# end
protected