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

Fix issue with templates that don't have a virtual_path #19

Merged
merged 1 commit into from
May 31, 2024

Conversation

jho406
Copy link
Contributor

@jho406 jho406 commented May 31, 2024

The layout patch needed to account for inline renders like render(plain: "hello") or send_data that don't have a virtual path.

Without this fix, applications using props_template were throwing:

undefined method 'virtual_path' for an instance of ActionView::Template::Text

The layout patch needed to account for inline renders like
`render(plain: "hello")` or `send_data` that don't have a virtual path.

Without this fix, applications using props_template were throwing:

```
undefined method 'virtual_path' for an instance of ActionView::Template::Text
```
@jho406 jho406 requested a review from sallyhall May 31, 2024 21:26
@jho406 jho406 merged commit 61f582f into main May 31, 2024
24 checks passed
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.

2 participants