From 2326680d639f0486874db1ad1d6e70049c303375 Mon Sep 17 00:00:00 2001 From: Thomas Boltze Date: Wed, 26 Dec 2012 19:03:30 +0800 Subject: [PATCH] Fixed wine product disclaimer --- app/views/spree/products/_properties.html.erb | 2 +- spree_reservebar_theme.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/products/_properties.html.erb b/app/views/spree/products/_properties.html.erb index 6db280c..33846fc 100644 --- a/app/views/spree/products/_properties.html.erb +++ b/app/views/spree/products/_properties.html.erb @@ -6,7 +6,7 @@
<% end %> -<% if @product.taxons.include?(Spree::Taxon.find_by_permalink("type/wine")) %> +<% if @product.taxons.map(&:permalink).to_s.include?('type/wine') %>
Please note that at times, specific vintages listed may not be currently offered by distributors in certain states due to new vintages having been recently introduced by that brand, seasonality or other factors. In such event, we will substitute a comparable vintage (e.g., 2009 for 2008).
diff --git a/spree_reservebar_theme.gemspec b/spree_reservebar_theme.gemspec index 2060304..c71817e 100644 --- a/spree_reservebar_theme.gemspec +++ b/spree_reservebar_theme.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'spree_reservebar_theme' - s.version = '0.5.20' + s.version = '0.5.21' s.summary = 'Spree Commerce Theme for reservebar.com' s.author = 'Thomas Boltze'