Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CompaniesDecorator < Draper::DecoratedEnumerableProxy
- def limit
- CompanyDecorator.decorate @wrapped_collection.limit
- end
- def q(*args)
- CompanyDecorator.decorate @wrapped_collection.q(args)
- end
- end
Add Comment
Please, Sign In to add comment