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

expose resource to view #77

Merged
merged 3 commits into from
Feb 18, 2020
Merged

Conversation

Uysim
Copy link
Contributor

@Uysim Uysim commented Feb 14, 2020

global expose on create render
Example

<% if @resource.present? %>
  <p>Message</p>
<% else %>
  <p>Otherg</p>
<% end %>

Related to: #76

README.md Outdated Show resolved Hide resolved
Copy link
Owner

@mikker mikker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the text above the code block too

@Uysim Uysim requested a review from mikker February 17, 2020 13:08
@mikker mikker merged commit 3050634 into mikker:master Feb 18, 2020
@mikker
Copy link
Owner

mikker commented Feb 18, 2020

Wonderful! Thanks for this.

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.

None yet

2 participants