marcamillion
marcamillion

Reputation: 33755

Why would the icons in RailsAdmin just stop showing up?

I am not sure what I did, but the icons in the menu options don't show up anymore.

There are just squares, like below:

Missing Icons in RailsAdmin

What could have caused this and how do I fix it?

Thanks.

Upvotes: 3

Views: 1097

Answers (1)

user1821510
user1821510

Reputation: 665

This might be an ugly fix to the problem, but after trying everything is the only thing that worked for me.

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

Then put the following files into the /public/assets directory of your 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 is of course bypassing the proper rails asset pipeline, but as a workaround until rails admin is fixed will work fine.

Upvotes: 1

Related Questions