瀏覽代碼

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

master
Adrian Short 11 年之前
父節點
當前提交
ff152512c0
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      config/application.rb

+ 3
- 0
config/application.rb 查看文件

@@ -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'


Loading…
取消
儲存