Commit 94f91146f15c955b02e9f3717b9bf7506019f63d

Authored by Robert Speicher
1 parent 4f4c401f

Limit admin/logs and admin/resque routes to the actions that are used

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
config/routes.rb
... ... @@ -53,8 +53,8 @@ Gitlab::Application.routes.draw do
53 53 resources :hooks, :only => [:index, :create, :destroy] do
54 54 get :test
55 55 end
56   - resource :logs
57   - resource :resque, :controller => 'resque'
  56 + resource :logs, only: [:show]
  57 + resource :resque, :controller => 'resque', only: [:show]
58 58 root :to => "dashboard#index"
59 59 end
60 60  
... ...