My error in console of browser:
GET http://server/assets/headhesive/options-f302fd8c6dff844c32b94df2780bdbdb.js 404 (Not Found)
At the end of the file layouts/application.html.haml:
= javascript_include_tag 'headhesive/headhesive'
= javascript_include_tag 'headhesive/options'
And if I do so:
%script{src: 'assets/headhesive/headhesive.js'}
%script{src: 'assets/headhesive/options.js'}
it works only on root page (though in production I haven't checked).
How to fix this error?
Aucun commentaire:
Enregistrer un commentaire