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

This commit is contained in:
Robert Speicher 2012-09-16 04:51:26 -04:00
parent 4f4c401f77
commit 94f91146f1

View file

@ -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