dry up method missing

This commit is contained in:
Aaron Patterson 2010-09-29 15:07:33 -07:00
parent 1d9a219307
commit 4d7b2ee524

@ -421,11 +421,8 @@ def set_payload_for_mail(payload, mail) #:nodoc:
end
def method_missing(method, *args) #:nodoc:
if action_methods.include?(method.to_s)
new(method, *args).message
else
super
end
return super unless respond_to?(method)
new(method, *args).message
end
end