examples/al-admin/app/controllers/directory_controller.rb in activeldap-0.9.0 vs examples/al-admin/app/controllers/directory_controller.rb in activeldap-0.10.0

- old
+ new

@@ -14,10 +14,12 @@ if Entry.base == dn @entry = Entry.root(find_options) else @entry = Entry.find(dn, find_options) end - render(:partial => "_entry/entry", :object => @entry) + erb = "<%= render(:partial => '_entry/entry', :object => @entry) %>" + erb = "<div>\n#{erb}\n</div>" + render(:inline => erb) end def populate ActiveLdap::Populate.ensure_base ActiveLdap::Populate.ensure_ou(LdapUser.prefix)