about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-23 00:59:35 +0200
committerGitHub <noreply@github.com>2017-08-23 00:59:35 +0200
commitc1b086a538d128e9fbceab4fc6686611a4f2710f (patch)
treec57a587e6e09c9f13aea58009854427899209695 /config/routes.rb
parent696c2c6f2f3338df121cf17389478da9ecab11af (diff)
Fix up the applications area (#4664)
- Section it into "Development" area
- Improve UI of application form, index, and details
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e8bc968f4..94a4ac88e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -80,8 +80,10 @@ Rails.application.routes.draw do
 
     resource :follower_domains, only: [:show, :update]
 
-    resources :applications do
-      put :regenerate
+    resources :applications, except: [:edit] do
+      member do
+        post :regenerate
+      end
     end
 
     resource :delete, only: [:show, :destroy]