でルーティング エラーが発生します
No route matches {:action=>"edit", :controller=>"projects"}
実行rake routes
すると、次のことがわかります。
edit_user_project GET /users/:user_id/projects/:id/edit(.:format) projects#edit
user_project GET /users/:user_id/projects/:id(.:format) projects#show
PUT /users/:user_id/projects/:id(.:format) projects#update
DELETE /users/:user_id/projects/:id(.:format) projects#destroy
エラーはから来ていprojects/new
ます。
何が問題なのですか?