javascript_include_tag throws unsupported method

后端 未结 3 1037
天涯浪人
天涯浪人 2020-12-11 08:17

I recently created a new project with Rails 4.2.0 and created a controller called Land for the landing page. So, I ran into this error upon visting http:/

3条回答
  •  -上瘾入骨i
    2020-12-11 08:46

    Ahh, it seems that you are missing

    //= require turbolinks
    

    in your application.js

    See this on removing turbolinks (and obviously make sure it's all in place if you want it running).

提交回复
热议问题