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:
parent
84dec2d82e
commit
34bf27069b
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ OpenneoImpressItems::Application.routes.draw do
|
|||
end
|
||||
resources :swf_assets, path: 'swf-assets', only: [:show]
|
||||
scope "rainbow-pool" do
|
||||
resources :alt_styles, path: 'alt-styles', only: [:index, :edit, :update],
|
||||
path: 'styles'
|
||||
resources :alt_styles, path: 'styles', only: [:index, :edit, :update]
|
||||
end
|
||||
resources :pet_types, path: 'rainbow-pool', param: "name",
|
||||
only: [:index, :show] do
|
||||
|
|
Loading…
Reference in a new issue