Question

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?

Était-ce utile?

La solution

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

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top