mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 23:06:50 +00:00
Fix typos
This commit is contained in:
parent
c25f2f3863
commit
ec905d8179
@ -86,7 +86,7 @@ module ActionController
|
|||||||
book = Book.new(title: 'New Post', body: 'Body')
|
book = Book.new(title: 'New Post', body: 'Body')
|
||||||
|
|
||||||
# because this is a string, ruby can't auto-lookup the constant, so otherwise
|
# because this is a string, ruby can't auto-lookup the constant, so otherwise
|
||||||
# the looku things we mean ::Api::V2
|
# the lookup thinks we mean ::Api::V2
|
||||||
render json: book, namespace: 'ActionController::Serialization::NamespaceLookupTest::Api::V2'
|
render json: book, namespace: 'ActionController::Serialization::NamespaceLookupTest::Api::V2'
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ module ActionController
|
|||||||
book = Book.new(title: 'New Post', body: 'Body')
|
book = Book.new(title: 'New Post', body: 'Body')
|
||||||
|
|
||||||
# because this is a string, ruby can't auto-lookup the constant, so otherwise
|
# because this is a string, ruby can't auto-lookup the constant, so otherwise
|
||||||
# the looku things we mean ::Api::V2
|
# the lookup thinks we mean ::Api::V2
|
||||||
render json: book, namespace: :'ActionController::Serialization::NamespaceLookupTest::Api::V2'
|
render json: book, namespace: :'ActionController::Serialization::NamespaceLookupTest::Api::V2'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user