Make sure assets in ./vendor are precompiled

Dominik Sander лет %!s(int64=11): %!d(string=назад)
Родитель
Сommit
ed2f8e82d8
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      config/environments/production.rb

+ 1 - 0
config/environments/production.rb

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