Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes passed in options accessible inside serializers #836

Merged
merged 1 commit into from
Mar 11, 2015

Conversation

kurko
Copy link
Member

@kurko kurko commented Mar 11, 2015

In some cases, we want to pass arguments from the controller and we want
to serializer a resource according to that. This allows serializers to
use the options method to retrieve whatever was passed in via
arguments.

In some cases, we want to pass arguments from the controller and we want
to serializer a resource according to that. This allows serializers to
use the `options` method to retrieve whatever was passed in via
arguments.
@nhocki
Copy link
Contributor

nhocki commented Mar 11, 2015

😍 👍

@willmanduffy
Copy link

👍

@joaomdmoura
Copy link
Member

It seems cool to me! 👍

guilleiguaran added a commit that referenced this pull request Mar 11, 2015
Makes passed in options accessible inside serializers
@guilleiguaran guilleiguaran merged commit 73aeba4 into master Mar 11, 2015
@guilleiguaran guilleiguaran deleted the stores-passed-in-options branch March 11, 2015 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants