Oops, fix silly routing mistake where I set path twice for same route

Ruby 3.3.6 has a warning for this, neat! I apparently didn't notice the
`path` option already there at first, and just added a new one.

This change shouldn't affect behavior, it just is clearer and removes a
warning!
This commit is contained in:
Emi Matchu 2024-12-28 15:58:41 -08:00
parent 84dec2d82e
commit 34bf27069b

View file

@ -37,8 +37,7 @@ OpenneoImpressItems::Application.routes.draw do
end end
resources :swf_assets, path: 'swf-assets', only: [:show] resources :swf_assets, path: 'swf-assets', only: [:show]
scope "rainbow-pool" do scope "rainbow-pool" do
resources :alt_styles, path: 'alt-styles', only: [:index, :edit, :update], resources :alt_styles, path: 'styles', only: [:index, :edit, :update]
path: 'styles'
end end
resources :pet_types, path: 'rainbow-pool', param: "name", resources :pet_types, path: 'rainbow-pool', param: "name",
only: [:index, :show] do only: [:index, :show] do