Project

General

Profile

« Previous | Next » 

Revision bbb82941

Added by Marc Dequènes almost 15 years ago

  • ID bbb82941c2fdab4ecf351b8a2f2868868660df2f

[evol] code cleanup, and allowed pluralized version of object name in 'list' command

View differences:

lib/ldap_shadows/controller.rb
# configure class
klass = find_klass(obj_name)
klass.handle = obj_name
klass.presentation = obj_def[:presentation]
klass.mapper = self
klass.ldap_mapping obj_mapping.reject {|key, val| not ActiveLdap::Base::VALID_LDAP_MAPPING_OPTIONS.include?(key) }

Also available in: Unified diff