Sha256: fb8f45f9be2f54c335464baa45478a889aec3089d57f7fc94461a980f310e42a

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

class UcbRails::LdapPersonSearchController < ApplicationController
  NoSearchTermError = Class.new(StandardError)
  
  skip_before_filter :ensure_authenticated_user

  def search
    @lps_entries = UcbRails::LdapPerson::Finder.find_by_first_last(
      params.fetch(:first_name),
      params.fetch(:last_name),
      :sort => :last_first_downcase
    )
    render 'ucb_rails/lps/search'
  end
    
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.13 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.12 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.11 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.10 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.9 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.8 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.7 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.6 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.5 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.4 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.3 app/controllers/ucb_rails/ldap_person_search_controller.rb
ucb_rails-0.0.2 app/controllers/ucb_rails/ldap_person_search_controller.rb