Why do icons in RailsAdmin just stop showing?

I'm not sure what I did, but the icons in the menu settings no longer appear.

There are only squares as shown below:

Missing Icons in RailsAdmin

What could be causing this and how to fix it?

Thank.

+3


source to share


1 answer


This might be an ugly fix for the problem, but after trying it all the only thing that worked for me.

The Rails admin is using an old version of fontawesome. Download the zip file here: http://fortawesome.github.io/Font-Awesome/3.2.1/assets/font-awesome.zip

Then place the following files in the / public / assets directory of the rails project from the / font directory in the zip file:



  • fontawesome-webfont.eot
  • fontawesome-webfont.svg
  • fontawesome-webfont.ttf
  • fontawesome-webfont.woff
  • FontAwesome.otf

This bypasses the proper rails resource pipeline of course, but as a workaround until the rails admin is patched it will work fine.

+1


source







All Articles