ldap_sources_controller.rb 527 B

123456789101112131415161718192021222324252627
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class LdapSourcesController < ApplicationController
  3. include CanPrioritize
  4. prepend_before_action :authenticate_and_authorize!
  5. def index
  6. model_index_render(LdapSource, params)
  7. end
  8. def show
  9. model_show_render(LdapSource, params)
  10. end
  11. def create
  12. model_create_render(LdapSource, params)
  13. end
  14. def update
  15. model_update_render(LdapSource, params)
  16. end
  17. def destroy
  18. model_destroy_render(LdapSource, params)
  19. end
  20. end