about summary refs log tree commit diff
diff options
context:
space:
mode:
authorniwatori24 <62463593+niwatori24@users.noreply.github.com>2020-08-10 08:50:43 +0900
committerGitHub <noreply@github.com>2020-08-10 01:50:43 +0200
commit1326c575062191b5c6f8d4363279209da73ae576 (patch)
treedb4958b43f3011a8ae43618ffbc2a25e9cd279f1
parent8b61bb1c3e08e34e381b64eac88f2f6a6fb98680 (diff)
Use default :edit routing (#14535)
-rw-r--r--config/routes.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 349db0934..b55221925 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -171,11 +171,7 @@ Rails.application.routes.draw do
     get '/dashboard', to: 'dashboard#index'
 
     resources :domain_allows, only: [:new, :create, :show, :destroy]
-    resources :domain_blocks, only: [:new, :create, :show, :destroy, :update] do
-      member do
-        get :edit
-      end
-    end
+    resources :domain_blocks, only: [:new, :create, :show, :destroy, :update, :edit]
 
     resources :email_domain_blocks, only: [:index, :new, :create, :destroy]
     resources :action_logs, only: [:index]