From 9fb9542e0d9cecda1650a643f966d75c253a4110 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 1 Aug 2012 13:47:15 -0400 Subject: [PATCH] oops, fix syntax error on ruby 1.8.7 --- app/helpers/contribution_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/contribution_helper.rb b/app/helpers/contribution_helper.rb index 68e4e158..ec9cbc94 100644 --- a/app/helpers/contribution_helper.rb +++ b/app/helpers/contribution_helper.rb @@ -12,7 +12,7 @@ module ContributionHelper end end - def contributed_item(item, image = true, adverbial) + def contributed_item(item, image, adverbial) if item output do |html| html << 'the' @@ -26,7 +26,7 @@ module ContributionHelper end PET_TYPE_IMAGE_FORMAT = 'http://pets.neopets.com/cp/%s/1/3.png' - def contributed_pet_type(pet_type, image = true, options) + def contributed_pet_type(pet_type, image, options) options[:before] ||= 'the' output do |html| html << options[:before]