Revised one more instance in the doc referring to the method alias to access the object being serialized

This commit is contained in:
Kevin Tham 2013-01-11 10:01:37 -08:00
parent 1b6ccbbe7b
commit 3cd953ffa8

View File

@ -207,8 +207,7 @@ end
``` ```
Within a serializer's methods, you can access the object being Within a serializer's methods, you can access the object being
serialized as either `object` or the name of the serialized object serialized as `object`.
(e.g. `admin_comment` for the `AdminCommentSerializer`).
You can also access the `scope` method, which provides an You can also access the `scope` method, which provides an
authorization context to your serializer. By default, scope authorization context to your serializer. By default, scope