app/controllers/employees_controller.rb
def update_all_employees_via_ldap
    authorize! :manage, Employee
    RemoteEmployee.update_all_employees
    flash[:notice] = t(:all_employees) + " " + t(:updated)
    redirect_to employees_path
  end
# Searches OSU's ldap for all employees in the applicaiton by both their username and ids. Once 
# found, updates the employee's name and email. 
Searches OSU's ldap for all employees in the applicaiton by both their username and ids. Once
found, updates the employee's name and email.
Searches OSU ' s ldap for all employees in the applicaiton by both their username and ids . Once found updates the employee ' s name and email .
def update_all_employees_via_ldap
    authorize! :manage, Employee
    RemoteEmployee.update_all_employees
    flash[:notice] = t(:all_employees) + " " + t(:updated)
    redirect_to employees_path
  end
def update_all_employees_via_ldap authorize! :manage , Employee RemoteEmployee . update_all_employees flash [ :notice ] = t ( :all_employees ) + " " + t ( :updated ) redirect_to employees_path end
Searches OSU's ldap for all employees in the applicaiton by both their username and ids.
Searches OSU ' s ldap for all employees in the applicaiton by both their username and ids .