Explorar el Código

Fixed cache mode error

Andrew Kane hace 9 años
padre
commit
df0b2b27e9
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      lib/blazer/data_source.rb

+ 4 - 0
lib/blazer/data_source.rb

@@ -54,6 +54,10 @@ module Blazer
             "mode" => "all",
             "expires_in" => settings["cache"]
           }
+        else
+          {
+            "mode" => "off"
+          }
         end
       end
     end