Sha256: 663c957f8ce3e44b94424c47174e658e19d6780aab76937df36a17e1ffc11473

Contents?: true

Size: 1.49 KB

Versions: 14

Compression:

Stored size: 1.49 KB

Contents

Rails.application.routes.draw do

  match "/login", to: UcbRailsUser::SessionsController.action(:new),
    as: "login", via: [:get]
  match "/logout", to: UcbRailsUser::SessionsController.action(:destroy),
    as: "logout", via: [:all]
  match "/auth/:omniauth_provider/callback", to: UcbRailsUser::SessionsController.action(:create),
    via: [:get]
  match "/auth/failure", to: UcbRailsUser::SessionsController.action(:failure), via: [:get]
  match "/not_authorized", to: UcbRailsUser::SessionsController.action(:not_authorized),
    as: "not_authorized", via: [:get]

  match "/admin/users/toggle_superuser", to: UcbRailsUser::UsersController.action(:toggle_superuser),
    as: "admin_toggle_superuser", via: [:get]

  match "/admin/users/search", to: UcbRailsUser::UsersController.action(:search),
    as: "admin_user_search", via: [:get]
  match "/admin/users/impersonate_search", to: UcbRailsUser::UsersController.action(:impersonate_search),
    as: "admin_user_impersonate_search", via: [:get]
  match "/admin/users/ldap_search", to: UcbRailsUser::UsersController.action(:ldap_search),
    as: "admin_user_ldap_search", via: [:get]
  resources :users, controller: "ucb_rails_user/users", path: "admin/users", as: :admin_users

  resources :impersonations, controller: "ucb_rails_user/impersonations", path: "admin/impersonations", as: :admin_impersonations
  match "/admin/stop_impersonation", to: UcbRailsUser::ImpersonationsController.action(:stop_impersonation),
    as: :admin_stop_impersonation, via: [:get]

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ucb_rails_user-7.0.0 config/routes.rb
ucb_rails_user-6.2.2 config/routes.rb
ucb_rails_user-6.2.0 config/routes.rb
ucb_rails_user-6.1.1 config/routes.rb
ucb_rails_user-6.1.0 config/routes.rb
ucb_rails_user-6.0.0 config/routes.rb
ucb_rails_user-5.0.0 config/routes.rb
ucb_rails_user-4.1.2 config/routes.rb
ucb_rails_user-4.1.1 config/routes.rb
ucb_rails_user-4.1.0 config/routes.rb
ucb_rails_user-4.0.7 config/routes.rb
ucb_rails_user-4.0.6 config/routes.rb
ucb_rails_user-4.0.5 config/routes.rb
ucb_rails_user-4.0.4 config/routes.rb