Selaa lähdekoodia

Fixed cache mode error

Andrew Kane 9 vuotta sitten
vanhempi
commit
df0b2b27e9
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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