mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix use of super in define_method
This commit is contained in:
parent
d996d136e4
commit
d5226e5978
@ -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