lib/seo_cache/middleware.rb in seo_cache-0.17.0 vs lib/seo_cache/middleware.rb in seo_cache-0.18.0

- old
+ new

@@ -186,10 +186,10 @@ end def page_render(env) # Add key parameter to url request = Rack::Request.new(env) - url = if request.query_string.present? || request.url.end_with?('?') + url = if request.query_string.present? || request.url.include?('?') request.url + '&' else request.url + '?' end url += "#{SeoCache.prerender_url_param}=true"