make the director more forgiving

This commit is contained in:
danielvincent 2010-09-27 22:11:14 -07:00
parent 44c29cf8e6
commit 762646dbe8

View file

@ -12,7 +12,7 @@ module Diaspora
def build(builder)
@structure.inject("") do |xml, method|
xml << builder.send(method)
xml << builder.send(method) if builder.respond_to? method
end
end
end