指摘箇所2つ ルーティングでresourcesを使う パーシャルを使う ルーティングでresourcesを使う 修正前(私のコード) Rails.application.routes.draw do root to: 'product#new' get 'product/show/:id', to: 'product#show', as: 'product_show' end 修正後(↓のように修正すること) Rails.application.routes.draw do resources :products,only: [:new, :show] end なぜこのようにするのか? ⇨新し…