jquery-datatables-rails sort arrows not showing up in development environment
Perhaps someone will present a better answer. This is how I fixed it.
I got rid of the gem. Downloaded the javascript and css files from the datatables website:
Put these files in vendor/assets/stylesheets and vendor/assets/javascripts respectively.
I downloaded the missing images from here and stuck them in my vendor/assets/images folder that I created.
I did a replace all on the text in jquery.dataTables.min.css and replaced "/images/" with "/assets/"
And that fixed it. Hope this helps someone.
Comments
-
newUserNameHere 7 monthsI have a new rails install. I followed the instructions on this page exactly: https://github.com/rweng/jquery-datatables-rails
When I try to view a datatable, I get these errors:
GET http://localhost:3000/images/sort_both.png 404 (Not Found) GET http://localhost:3000/images/sort_asc.png 404 (Not Found)In
config/environments/development.rbI've tried changing the following settings:config.assets.debug = false #and also tried true config.serve_static_assets = true #and also tried false config.assets.enabled = trueI've also tried running
rake assets:precompileNot sure what I'm missing here. Any help would be greatly appreciated.