mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-24 07:06:28 +09:00
Use default :edit routing (#14535)
This commit is contained in:
parent
8b61bb1c3e
commit
1326c57506
@ -171,11 +171,7 @@ Rails.application.routes.draw do
|
|||||||
get '/dashboard', to: 'dashboard#index'
|
get '/dashboard', to: 'dashboard#index'
|
||||||
|
|
||||||
resources :domain_allows, only: [:new, :create, :show, :destroy]
|
resources :domain_allows, only: [:new, :create, :show, :destroy]
|
||||||
resources :domain_blocks, only: [:new, :create, :show, :destroy, :update] do
|
resources :domain_blocks, only: [:new, :create, :show, :destroy, :update, :edit]
|
||||||
member do
|
|
||||||
get :edit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
resources :email_domain_blocks, only: [:index, :new, :create, :destroy]
|
resources :email_domain_blocks, only: [:index, :new, :create, :destroy]
|
||||||
resources :action_logs, only: [:index]
|
resources :action_logs, only: [:index]
|
||||||
|
Loading…
Reference in New Issue
Block a user