Sha256: 957384ffddf07424514e550a189dc2490c7e1debaa7486eb3cb891097ee8a677

Contents?: true

Size: 689 Bytes

Versions: 10

Compression:

Stored size: 689 Bytes

Contents

Rails.application.routes.draw do
  devise_for :users, controllers: {
    omniauth_callbacks: 'chaltron/omniauth_callbacks',
    sessions: 'chaltron/sessions'
  }

  resources :users, controller: 'chaltron/users' do
    collection do
      get   'self_show'
      get   'self_edit'
      patch 'self_update'
    end
  end

  resources :logs, controller: 'chaltron/logs', only: [:index, :show]

  # search and create LDAP users
  if Devise.omniauth_providers.include?(:ldap) and !Chaltron.ldap_allow_all
    get   'ldap/search'       => 'chaltron/ldap#search'
    post  'ldap/multi_new'    => 'chaltron/ldap#multi_new'
    post  'ldap/multi_create' => 'chaltron/ldap#multi_create'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
chaltron-1.1.6 config/routes.rb
chaltron-0.3.2 config/routes.rb
chaltron-1.1.5 config/routes.rb
chaltron-1.1.4 config/routes.rb
chaltron-0.3.1 config/routes.rb
chaltron-1.1.3 config/routes.rb
chaltron-1.1.2 config/routes.rb
chaltron-1.1.1 config/routes.rb
chaltron-0.3.0 config/routes.rb
chaltron-1.1.0 config/routes.rb