LoginSignup
0
1

More than 3 years have passed since last update.

ActionController::UnknownFormat in 〇〇Controller#アクション名

Last updated at Posted at 2020-09-10

■環境
rails', '~> 5.2.4'

ECサイトを作成中に起きた初めてのエラーでした。
備忘録も兼ねて記載致します。

indexのページからshowページへ遷移しようとすると下記のエラーが!

スクリーンショット 2020-09-10 17.55.13.png

結論としては超超初歩的なミスでした…

スクリーンショット 2020-09-10 17.56.32.png

「show.htmel.erb」 →「show.html.erb」へ修正し、無事解決しました。

恐らく、同様のエラーが出ている方はページ作成が出来ていないか、もしくは私のようにページの名前にミスがある可能性が高いのでよくご覧ください。

簡単な内容ですが以上となります。

0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1