From 94f91146f15c955b02e9f3717b9bf7506019f63d Mon Sep 17 00:00:00 2001
From: Robert Speicher <rspeicher@gmail.com>
Date: Sun, 16 Sep 2012 04:51:26 -0400
Subject: [PATCH] Limit admin/logs and admin/resque routes to the actions that
 are used

---
 config/routes.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/routes.rb b/config/routes.rb
index 858111f2ade..77cde7221a4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -53,8 +53,8 @@ Gitlab::Application.routes.draw do
     resources :hooks, :only => [:index, :create, :destroy] do
       get :test
     end
-    resource :logs
-    resource :resque, :controller => 'resque'
+    resource :logs, only: [:show]
+    resource :resque, :controller => 'resque', only: [:show]
     root :to => "dashboard#index"
   end
 
-- 
GitLab