Browse Source

Make sure assets in ./vendor are precompiled

Dominik Sander 11 years ago
parent
commit
ed2f8e82d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config/environments/production.rb

+ 1 - 0
config/environments/production.rb

@@ -31,6 +31,7 @@ Huginn::Application.configure do
 
   # Generate digests for assets URLs
   config.assets.digest = true
+  config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
 
   # Specifies the header that your server uses for sending files.
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache