app/controllers/cytoplasm/fonts_controller.rb in cytoplasm-0.2.1 vs app/controllers/cytoplasm/fonts_controller.rb in cytoplasm-0.2.2

- old
+ new

@@ -86,10 +86,10 @@ end end # Fetch imported GoogleWebFonts fonts yaml = fetch_yaml(@@gwf_file) - yaml["imported"].each {|f| imported["googlewebfonts"][f] = fetch_gwf_family(f)} unless yaml["imported"].nil? or !yaml["imported"].any? + yaml["imported"].each {|f| imported["googlewebfonts"][f] = fetch_gwf_family(f)} unless yaml == false or yaml["imported"].nil? return imported end def fetch_enabled enabled = {"fontsquirrel" => {}, "googlewebfonts" => {}} \ No newline at end of file