Limit admin/logs and admin/resque routes to the actions that are used
This commit is contained in:
parent
4f4c401f77
commit
94f91146f1
|
@ -53,8 +53,8 @@ Gitlab::Application.routes.draw do
|
||||||
resources :hooks, :only => [:index, :create, :destroy] do
|
resources :hooks, :only => [:index, :create, :destroy] do
|
||||||
get :test
|
get :test
|
||||||
end
|
end
|
||||||
resource :logs
|
resource :logs, only: [:show]
|
||||||
resource :resque, :controller => 'resque'
|
resource :resque, :controller => 'resque', only: [:show]
|
||||||
root :to => "dashboard#index"
|
root :to => "dashboard#index"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue