initialize_on_precompile to false for asset compile

Albert Sun 11 ans auparavant
Parent
Commettre
a521695d6c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      config/application.rb

+ 2 - 1
config/application.rb

@@ -52,7 +52,8 @@ module Huginn
52 52
     # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
53 53
     # parameters by using an attr_accessible or attr_protected declaration.
54 54
     config.active_record.whitelist_attributes = true
55
-
55
+    config.assets.initialize_on_precompile = false
56
+    
56 57
     # Enable the asset pipeline
57 58
     config.assets.enabled = true
58 59