wild5r/activeadmin_hstore_editor

Failed to load jsoneditor-icons.png in Rails production enviroment

buffot opened this issue · 1 comments

Hi, you've made a great tool.
I've got a problem with loading http://xxxxx.yyy.com/assets/img/jsoneditor-icons.png in production environment (the browser console). In a Rails development environment everything works fine. I've tried some config changes in the production environment but without any result.

hstore_editor

Adding config.assets.precompile += %w[*.png *.jpg *gif] to config/environments/production.rb solved the problem.