about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-08-11 20:15:03 +0200
committerGitHub <noreply@github.com>2020-08-11 20:15:03 +0200
commit59c44ce323d135223fcda0183c6fbdf64a79799a (patch)
treea9f144ae0589d6a312e015dec7a66029bcb6131c /config
parent03712799e2cd51613c8e73cbd6379c8058fae466 (diff)
parent8ae52dc79235bc9ed6878bed857539d14e0b57da (diff)
Merge pull request #1398 from ThibG/glitch-soc/master
Merge upstream changes
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ac6323e6e..56ba41ec5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -173,11 +173,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]