lib/contentful_middleman/helpers.rb in contentful_middleman-2.1.0 vs lib/contentful_middleman/helpers.rb in contentful_middleman-2.1.1

- old
+ new

@@ -28,10 +28,10 @@ end def localize_value(value, locale, fallback_locale='en-US') if value.respond_to? :fetch return value.fetch(locale) if value.key? locale - return value.fetch(fallback_locale) + return value.fetch(fallback_locale) if value.key? fallback_locale end value end def with_preview(space: '', access_token: '', tries: 3, expires_in: ContentfulMiddleman::Tools::PreviewProxy.hours(2), &block)