Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-16 12:51:26 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-16 15:38:14 +0400
commit94f91146f15c955b02e9f3717b9bf7506019f63d (patch)
treec1861beb81beed253367ddb6a40ff90f3d5a372a /config
parent4f4c401f77522c27df7afdc25eeef39de76e241b (diff)
Limit admin/logs and admin/resque routes to the actions that are used
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files 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