Ver código fonte

Don't precompile pipeline assets (fix for Heroku Cedar)

master
Adrian Short 11 anos atrás
pai
commit
ff152512c0
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      config/application.rb

+ 3
- 0
config/application.rb Ver arquivo

@@ -65,6 +65,9 @@ module Apollo
# Enable the asset pipeline
config.assets.enabled = true

# https://devcenter.heroku.com/articles/rails-asset-pipeline#troubleshooting
config.assets.initialize_on_precompile = false # Fix for Heroku Cedar

# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.1'


Carregando…
Cancelar
Salvar