Fix use of super in define_method

This commit is contained in:
Wouter Willaert 2014-09-21 23:34:44 +02:00
parent d996d136e4
commit d5226e5978

View File

@ -47,7 +47,7 @@ module ActionController
if json
super(json, options)
else
super
super(resource, options)
end
end
end