summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-09-20 03:16:05 +0000
committerGo MAEDA <maeda@farend.jp>2022-09-20 03:16:05 +0000
commitcd70187c2fa2a5058690fde78dcdcb1c759c204e (patch)
tree0c863e7455fd70c855522692c0480b843c4be6c7 /config/routes.rb
parent42b381985bebdb025bfba8466840b76d1c917d12 (diff)
downloadredmine-cd70187c2fa2a5058690fde78dcdcb1c759c204e.tar.gz
redmine-cd70187c2fa2a5058690fde78dcdcb1c759c204e.zip
Introduces a UserQuery model for admin/users (#37674).
Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1e4b20d94..f2106d90f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -108,6 +108,7 @@ Rails.application.routes.draw do
match 'my/twofa/backup_codes', :controller => 'twofa_backup_codes', :action => 'show', :via => [:get]
match 'users/:user_id/twofa/deactivate', :controller => 'twofa', :action => 'admin_deactivate', :via => :post
+ match '/users/context_menu', to: 'context_menus#users', as: :users_context_menu, via: [:get, :post]
resources :users do
resources :memberships, :controller => 'principal_memberships'
resources :email_addresses, :only => [:index, :create, :update, :destroy]