diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-16 12:51:26 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-16 15:38:14 +0400 |
commit | 94f91146f15c955b02e9f3717b9bf7506019f63d (patch) | |
tree | c1861beb81beed253367ddb6a40ff90f3d5a372a /config | |
parent | 4f4c401f77522c27df7afdc25eeef39de76e241b (diff) |
Limit admin/logs and admin/resque routes to the actions that are used
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
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 |