From 36881f83c74a12b754ef4e5c9b1781e6d39dc2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 6 Jul 2012 15:13:50 +0300 Subject: Split rejected and approved comment actions into separate controller actions. --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index fd7272d..011d451 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,6 +32,8 @@ Refinery::Core::Engine.routes.draw do member do get :approved get :rejected + post :approve + post :reject end end -- cgit v1.2.3 From dd3480f8dcf96038c73e00df872987ea9a15eb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 6 Jul 2012 15:25:38 +0300 Subject: Remove redundant routes. --- config/routes.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 011d451..ad8d138 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -30,8 +30,6 @@ Refinery::Core::Engine.routes.draw do get :rejected end member do - get :approved - get :rejected post :approve post :reject end -- cgit v1.2.3