Skip to content

Ability to include multiple views in a single method call#184

Merged
mcclayton merged 2 commits intoprocore-oss:masterfrom
narendranvelmurugan:include-views
Oct 15, 2019
Merged

Ability to include multiple views in a single method call#184
mcclayton merged 2 commits intoprocore-oss:masterfrom
narendranvelmurugan:include-views

Conversation

@narendranvelmurugan
Copy link
Copy Markdown
Contributor

Created a new method called include_views and pass multiple views as arguments, which will render all the passed views in the blueprint.

before:

include_view :user_summary
include_view :org_summary

Now:

include_views :user_summary,  :org_summary

Comment thread lib/blueprinter/base.rb Outdated
Comment thread lib/blueprinter/base.rb Outdated
Comment thread lib/blueprinter/base.rb Outdated
@mcclayton mcclayton merged commit e394e72 into procore-oss:master Oct 15, 2019
@mcclayton
Copy link
Copy Markdown
Contributor

Thanks so much for contributing!

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.

3 participants