mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16: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
|
||||
super(json, options)
|
||||
else
|
||||
super
|
||||
super(resource, options)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user