Project

General

Profile

Download (934 Bytes) Statistics
| Branch: | Tag: | Revision:
class AuthSourceLdapsController < ApplicationController
filter_parameter_logging :account_password

def index
@auth_source_ldaps = AuthSourceLdap.all
end

def show
@auth_source_ldap = AuthSourceLdap.find(params[:id])
end

def new
@auth_source_ldap = AuthSourceLdap.new
end

def create
@auth_source_ldap = AuthSourceLdap.new(params[:auth_source_ldap])
if @auth_source_ldap.save
process_success
else
process_error
end
end

def edit
@auth_source_ldap = AuthSourceLdap.find(params[:id])
end

def update
@auth_source_ldap = AuthSourceLdap.find(params[:id])
if @auth_source_ldap.update_attributes(params[:auth_source_ldap])
process_success
else
process_error
end
end

def destroy
@auth_source_ldap = AuthSourceLdap.find(params[:id])
if @auth_source_ldap.destroy
process_success
else
process_error
end

end
end
(4-4/32)