mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
23 lines
470 B
Ruby
23 lines
470 B
Ruby
Rails.application.routes.draw do
|
|
namespace "ldap_groups" do
|
|
resources :synchronized_filters,
|
|
param: :ldap_filter_id,
|
|
except: %i(index) do
|
|
member do
|
|
# Extract groups from filter
|
|
get "synchronize"
|
|
|
|
# Destroy warning
|
|
get "destroy_info"
|
|
end
|
|
end
|
|
|
|
resources :synchronized_groups,
|
|
param: :ldap_group_id do
|
|
member do
|
|
get "destroy_info"
|
|
end
|
|
end
|
|
end
|
|
end
|