私はRailsアプリケーションを使っています。私が持っている問題は、aboutとcontactの間を循環するときです。私は常にエラーを取得私はRuby on Railsアプリケーションに取り組んでいます
Noルートマッチ[GET]
または
Noルートマッチ
[GET]「/ページ/ページ "について/ページ/ページ/" /連絡先
私のナビゲーションバーの部分的なタグhrefを"/about"
に変更しようとしていますが、同じエラーが発生します。それは私にコマンドrakeルートを使用するように頼んで、それが表示されます
$ rake routes
restaurants GET /restaurants(.:format) restaurants#index
POST /restaurants(.:format) restaurants#create
new_restaurant GET /restaurants/new(.:format) restaurants#new
edit_restaurant GET /restaurants/:id/edit(.:format) restaurants#edit
restaurant GET /restaurants/:id(.:format) restaurants#show
PUT /restaurants/:id(.:format) restaurants#update
DELETE /restaurants/:id(.:format) restaurants#destroy
pages_about GET /pages/about(.:format) pages#about
root / restaurants#index
pages_contact GET /pages/contact(.:format) pages#contact"
私は何か助けてください!
'a'または' link_to'タグを追加してください。 – titan
正確にあなたはエラー –