LoginSignup
0
0

More than 5 years have passed since last update.

railsのlink_toが作動しない時の対処法

Posted at

link_toでmethodを指定してもうまく作動してくれない。

原因

参考にしたもの↓
https://qiita.com/y-temp4/items/2d50feb3ff0d65acdf67
曰くjQueryを読み込む順番がおかしいみたい。

解決策

下の順番の通り記述してあげるだけ

//= require jquery
//= require jquery_ujs

0
0
2

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
0