I have a collection that contains instances of several different classes, and I want to render the partial for each instance. I can do this using the following code:
<%= render @results %>
My question is: How can I render the different partials in a different base directory? The above code will look for app/views/stories/_story.html.erb, however, the partials for this action are all kept in a different directory - app/search/_story.html.erb. Is there any way of specifying this?