A
A
Alexander Petrov2016-04-02 18:37:51
Ruby on Rails
Alexander Petrov, 2016-04-02 18:37:51

Why is rails_admin not loading styles?

I put the site on rails admin, uploaded it to the server in production, I open it, and there it’s like this:
1237e3ef0f4f497484d52a7f405722de.png
what does other sites open normally .... and then something flew off, I can’t understand what ....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Andreev, 2016-04-02
@Mirkom63

Try to add to config/environments/production.rb

config.assets.precompile += ['rails_admin/rails_admin.css', 'rails_admin/rails_admin.js']

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question