dry up method missing
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user