Skip to content

Commit 0292940

Browse files
committed
typo
1 parent 095bae3 commit 0292940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_model/serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def has_many(*attrs)
102102
def build_serializer_class(resource, options)
103103
"".tap do |klass_name|
104104
klass_name << "#{options[:namespace]}::" if options[:namespace]
105-
klass_name << options[:prefix].to_s.classify if options[:prefix]
105+
klass_name << options[:prefix].to_s.classify if options[:prefix]
106106
klass_name << "#{resource.class.name}Serializer"
107107
end
108108
end

0 commit comments

Comments
 (0)