mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 07:08:07 +01:00
Use module: :users
in routes/admin section (#30767)
This commit is contained in:
parent
66ef4b9984
commit
4ad1e955eb
1 changed files with 4 additions and 2 deletions
|
@ -144,8 +144,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] do
|
||||
|
|
Loading…
Reference in a new issue