In my rails app, I tried to load CSS into my view like this :
<link src="assets/stylesheets/myStyleSheet.css" type="text/css" rel="stylesheet">
and it works.
BUT When I tried to load a JavaScript file as below,
<script src="assets/javascripts/libs/modernizr-2.6.2.min.js" type="text/javascript"></script>
I am getting a 404 error (Same error for some images also)
All my files are in the right place, so does anybody have an idea to solve it?
Thanks.