mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
typo
This commit is contained in:
parent
d00fb27e04
commit
5ae536cd7b
@ -86,7 +86,7 @@ module ActionController
|
||||
options[:scope] = serialization_scope unless options.has_key?(:scope)
|
||||
|
||||
if resource.respond_to?(:to_ary)
|
||||
options[:resource_name]= controller_name
|
||||
options[:resource_name] = controller_name
|
||||
options[:namespace] = namespace_for_serializer if namespace_for_serializer
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user