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

Way to decorate only collection without decorating the instances #666

Open
JustMikey opened this issue Apr 27, 2015 · 0 comments
Open

Way to decorate only collection without decorating the instances #666

JustMikey opened this issue Apr 27, 2015 · 0 comments

Comments

@JustMikey
Copy link

Is there a way to decorate only a collection without decorating the instances? It appems that even if I create a class like "MessagesDecorator" and inherit from "Draper::CollectionDecorator", it would expect it me to have "MessageDecorator" as well, is there a way to avoid that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants