Ruby on rails 4.0 + javascript not loading

前端 未结 3 530
故里飘歌
故里飘歌 2021-01-07 13:17

I have a javascript file called \"front.js\" i load from \"application.js\" like usual with this code:

//= require front

Inside \"front.js\

3条回答
  •  猫巷女王i
    2021-01-07 13:45

    I had the same problem when using foundation in my project, you can disable turoblinks by not requiring turbolinks in your application.js file and it should solve the problem.

提交回复
热议问题