Skip to content

Instantly share code, notes, and snippets.

@banta
Created July 28, 2012 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banta/3193434 to your computer and use it in GitHub Desktop.
Save banta/3193434 to your computer and use it in GitHub Desktop.
Heroku Production Configuration
if !Rails.env.development? && !Rails.env.test?
config.middleware.insert_before Rack::Cache, Rack::Static, urls: [config.assets.prefix], root: 'public'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment