Refinerycms 2.1.0 assets not loading property on Heroku

154 views Asked by At

I'm trying to deploy a refinerycms app into Heroku. the deployment process goes smoothly but assets are not loading properly in front-end and back-end (see image attached).

1 - I have compiled my assets. 2 - I set config.assets.initialize_on_precompile = false 3 - Commited my changes.

and still have the same issue.

What am I missing?

1

There are 1 answers

0
Hammam On BEST ANSWER

Try adding any refinerycms assets you are missing to config.assets.precompile in production.rb file. i.e.

config.assets.precompile += ['refinery/refinery.css']