oops, fix syntax error on ruby 1.8.7

This commit is contained in:
Emi Matchu 2012-08-01 13:47:15 -04:00
parent c2a0c5de74
commit 9fb9542e0d

View file

@ -12,7 +12,7 @@ module ContributionHelper
end end
end end
def contributed_item(item, image = true, adverbial) def contributed_item(item, image, adverbial)
if item if item
output do |html| output do |html|
html << 'the' html << 'the'
@ -26,7 +26,7 @@ module ContributionHelper
end end
PET_TYPE_IMAGE_FORMAT = 'http://pets.neopets.com/cp/%s/1/3.png' 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' options[:before] ||= 'the'
output do |html| output do |html|
html << options[:before] html << options[:before]