diff --git a/config/routes.rb b/config/routes.rb index dc4318a..78c801a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -148,8 +148,8 @@ resources :project_groups, only: [:create, :update, :destroy] namespace :settings do - resource :projects - resources :plans + resource :projects, only: [:show, :update] + resources :plans, only: [:show, :update] end resources :token_permission_types, only: [:index] @@ -170,8 +170,6 @@ end end - get '/api' => redirect('/swagger/dist/index.html?url=/apidocs/api-docs.json') - # The priority is based upon order of creation: # first created -> highest priority.