mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Merge pull request #663 from wouterw/ww-fix-super-in-define-method
Fix use of `super` in `define_method`
This commit is contained in:
commit
b6b01d0b73
@ -47,7 +47,7 @@ module ActionController
|
|||||||
if json
|
if json
|
||||||
super(json, options)
|
super(json, options)
|
||||||
else
|
else
|
||||||
super
|
super(resource, options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user