1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Compare commits

...

2 commits

Author SHA1 Message Date
Matt Jankowski
23a7e2feca
Merge 1cdffd2396 into 549ab089ee 2024-07-31 11:06:49 +00:00
Matt Jankowski
1cdffd2396 Use module: :users in routes/admin section 2024-07-17 10:30:31 -04:00

View file

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