mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Fix typos
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user