| 
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 | # File 'lib/maestrano/rails/routing/routes.rb', line 3
def maestrano_routes
  namespace :maestrano do
    namespace :auth do
      resources :saml, only:[] do
                get 'init', on: :collection, to: 'saml#init', as: :default
                get 'init/:tenant', on: :collection, to: 'saml#init', as: :tenant
                post 'consume', on: :collection, to: 'saml#consume'
                post 'consume/:tenant', on: :collection, to: 'saml#consume'
      end
    end
    namespace :account do
            delete 'groups/:id', to: 'groups#destroy'
            delete 'groups/:id/:tenant', to: 'groups#destroy'
            delete 'groups/:group_id/users/:id', to: 'group_users#destroy'
            delete 'groups/:group_id/users/:id/:tenant', to: 'group_users#destroy'
    end
  end
end |