Skip to content

Conversation

@qpSHiNqp
Copy link

Added support for runtime append_view_path and prepend_view_path instance methods in controllers.

So far, _xray_bar.html.erb partial have been raising ActionView::MissingTemplate if you call append_view_path or prepend_view_path in your controllers' action, because lookup_context in that partial doesn't take over its view_paths from your controllers' action view.

We added additional view paths to Xray.request_info struct using monkeypatch, and now you can use append_view_path and prepend_view_path in your application.

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.

1 participant