Sitemap done for backend and fronted

This commit is contained in:
Christophe Vilayphiou committed 2012-07-27 19:13:40 +08:00
1 parent 934b515914
commit a8cc581279
11 files changed
+54 -9

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ class Item
validates_associated :parent, :children
before_destroy :destroy_children
after_rearrange :rebuild_path
after_rearrange :rebuild_path, :if => "parent_id_changed?"
def self.find_by_name(item_name)