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
|
||||
get :test
|
||||
end
|
||||
resource :logs
|
||||
resource :resque, :controller => 'resque'
|
||||
resource :logs, only: [:show]
|
||||
resource :resque, :controller => 'resque', only: [:show]
|
||||
root :to => "dashboard#index"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue