We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 510fea3 commit 052ed87Copy full SHA for 052ed87
lib/action_controller/serialization.rb
@@ -23,7 +23,7 @@ def serialization_scope(scope)
23
end
24
25
def namespace_for_serializer
26
- @namespace_for_serializer ||= self.class.parent unless self.class.parent == Object
+ @namespace_for_serializer ||= self.class.module_parent unless self.class.module_parent == Object
27
28
29
def serialization_scope
0 commit comments