Asset filtered out and will not be served: add `config.assets.precompile

前端 未结 5 768
死守一世寂寞
死守一世寂寞 2020-12-08 13:17

I just migrated my Application to rails 4.1.0 from 4.1.rc2. Started getting these errors for my JS files

ActionView::Template::Err         


        
5条回答
  •  死守一世寂寞
    2020-12-08 14:15

    You may detele <%= javascript_include_tag 'xxx' %> from your erb, and in you assets/javascript/name_space/index.js.coffee , append this

    #= require ./xxx
    

提交回复
热议问题