seems like this should be easy, but it is evading me…
In app/views/controller-x/action-x.rhtml I have:
<%= render(:partial => ‘partial-x’) %>
And this will render:
Now - I want to render _partial-x.rhtml from a different controller. The
only way I’ve been able to make this work is to copy _partial-x.rhtml
into the views folder for the other controller, but that’s not very
Railsy or DRY.
Is it possible for me to render a particular partial from several
different controllers without duplicating the partial?