1
0
Fork 0
forked from gitea/nas

Merge remote-tracking branch 'parent/stable-4.3' into upstream-20241005

This commit is contained in:
KMY 2024-10-05 09:02:38 +09:00
commit cc857e57c6
132 changed files with 775 additions and 312 deletions

View file

@ -178,8 +178,10 @@ namespace :admin do
end
resources :users, only: [] do
resource :two_factor_authentication, only: [:destroy], controller: 'users/two_factor_authentications'
resource :role, only: [:show, :update], controller: 'users/roles'
scope module: :users do
resource :two_factor_authentication, only: [:destroy]
resource :role, only: [:show, :update]
end
end
resources :custom_emojis, only: [:index, :new, :create, :edit, :update] do