I just tried something like
render :template => ‘b/c’
some value in c’s template
And low and behold it doesn’t work (it looks for
But, if you render a plugin’s partial, like this:
render :partial => ‘b/c’
some value in c partial
It should work.
Marc Hassman wrote:
I am trying to do some dynamic instantiation trickery and have found
success, up to
the point where my view is to be rendered. When I call an action and let
controller render, it tries to render out of the application and doesn’t
indication that it knows about the engine view paths.
Do I need to set/require/include something in the instantiated
controller so it knows
about engine views?