oops, fix syntax error on ruby 1.8.7
This commit is contained in:
parent
c2a0c5de74
commit
9fb9542e0d
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue