Ray's back_end modification before sub_roles

This commit is contained in:
Christophe Vilayphiou committed 2011-12-23 18:02:45 +08:00
1 parent f774084e9a
commit fc591ee308
39 files changed
+1542 -539

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ module Admin::ItemHelper
when 'Link'
dest = admin_link_path(node)
end
ret << "<ul>"
ret << "<ul class='list'>"
ret << "<li>"
ret << (link_to node.name, dest)
ret << ' | ' << (link_to t('admin.edit'), eval("edit_admin_#{node._type.downcase}_path(node)")) if node._type.eql?('Page')