diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb index 57ad107..570ce7c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,11 +13,7 @@ Rails.application.routes.draw do # Catch all old pgo feeds get 'feed(/*stuff)', to: 'about#legacy', defaults: { format: 'atom' } - resources :categories, only: [:index, :show, :search] do - member do - get 'search' - end - end + resources :categories, only: %i[index show search] resources :packages, only: [:index, :show, :search], constraints: { id: /[^.]*/ } do collection do |