From 3cd953ffa8614ae17e3dbf068ac0f34accd7ac1f Mon Sep 17 00:00:00 2001 From: Kevin Tham Date: Fri, 11 Jan 2013 10:01:37 -0800 Subject: [PATCH] Revised one more instance in the doc referring to the method alias to access the object being serialized --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a6b1082..5c525216 100644 --- a/README.md +++ b/README.md @@ -207,8 +207,7 @@ end ``` Within a serializer's methods, you can access the object being -serialized as either `object` or the name of the serialized object -(e.g. `admin_comment` for the `AdminCommentSerializer`). +serialized as `object`. You can also access the `scope` method, which provides an authorization context to your serializer. By default, scope