mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
typo
This commit is contained in:
parent
095bae31d4
commit
0292940ab4
@ -102,7 +102,7 @@ end
|
|||||||
def build_serializer_class(resource, options)
|
def build_serializer_class(resource, options)
|
||||||
"".tap do |klass_name|
|
"".tap do |klass_name|
|
||||||
klass_name << "#{options[:namespace]}::" if options[:namespace]
|
klass_name << "#{options[:namespace]}::" if options[:namespace]
|
||||||
klass_name << options[:prefix].to_s.classify if options[:prefix]
|
klass_name << options[:prefix].to_s.classify if options[:prefix]
|
||||||
klass_name << "#{resource.class.name}Serializer"
|
klass_name << "#{resource.class.name}Serializer"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user