Skip to content

Commit

Permalink
Serve static assets in production
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed May 6, 2011
1 parent 4fc2447 commit 2e14d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
config.action_controller.perform_caching = true

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false
config.serve_static_assets = true

# Compress both stylesheets and JavaScripts
config.assets.js_compressor = :uglifier
Expand Down

0 comments on commit 2e14d25

Please sign in to comment.