about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-08-08 08:44:33 +0200
committerThibaut Girka <thib@sitedethib.com>2019-08-08 08:44:33 +0200
commitebc0521ba82cfc43094a1aead868c61118767030 (patch)
treeafc3e03fc60c990e263e9721d3e0c6493d492d8a /config/routes.rb
parent86cfa2ea6cb94c9597b9fcda034c8b4d959c5e3e (diff)
parentf51c7c105f1d04520656c1235f8a5f58d256fd0e (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 92271b00f..160640e0e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -157,7 +157,11 @@ 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]
+    resources :domain_blocks, only: [:new, :create, :show, :destroy, :update] do
+      member do
+        get :edit
+      end
+    end
     resources :email_domain_blocks, only: [:index, :new, :create, :destroy]
     resources :action_logs, only: [:index]
     resources :warning_presets, except: [:new]