ldap_plugin_admin_controller.rb
416 Bytes
class LdapPluginAdminController < PluginAdminController
append_view_path File.join(File.dirname(__FILE__) + '/../views')
def index
end
def update
if @environment.update_attributes(params[:environment])
session[:notice] = _('Ldap configuration updated successfully.')
else
session[:notice] = _('Ldap configuration could not be saved.')
end
render :action => 'index'
end
end