Merge pull request #518 from ebouchut/patch-2

Fix a typo.
This commit is contained in:
Steve Klabnik 2014-07-04 18:30:57 -07:00
commit 0c2691a46d

View File

@ -284,7 +284,7 @@ authorization context to your serializer. By default, the context
is the current user of your application, but this is the current user of your application, but this
[can be customized](#customizing-scope). [can be customized](#customizing-scope).
Serializers provides a method named `filter`, which should return an array Serializers provide a method named `filter`, which should return an array
used to determine what attributes and associations should be included in the output. used to determine what attributes and associations should be included in the output.
This is typically used to customize output based on `current_user`. For example: This is typically used to customize output based on `current_user`. For example: