浏览代码

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'


正在加载...
取消
保存