Jquery-datatables-rails sort arrows that don't appear in development environment

I have new rails installed. I followed the instructions on this page for sure: https://github.com/rweng/jquery-datatables-rails

When I try to view a datatable, I get the following errors:

GET http://localhost:3000/images/sort_both.png 404 (Not Found)
GET http://localhost:3000/images/sort_asc.png 404 (Not Found)

Q config/environments/development.rbI tried to change the following settings:

config.assets.debug = false #and also tried true
config.serve_static_assets = true #and also tried false
config.assets.enabled = true

I also tried running rake assets:precompile

Not sure what I'm missing here. Any help would be greatly appreciated.

+4
source share
2 answers

Perhaps someone will provide a better answer. This is how I fixed it.

. javascript css - datatables:

vendor/assets/stylesheets vendor/assets/javascripts .

vendor/assets/images, .

jquery.dataTables.min.css "/images/" "/assets/"

. , -.

+15
0

All Articles