ldap_plugin_admin_controller.rb
410 Bytes
class LdapPluginAdminController < AdminController
  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