Sharing partials across controllers

Hi,

I was wondering if it is possible to share a partial across views in
different controllers? If so, how would I go about doing this? Would I
pass in a parameter to render(…) of the partial telling it where it is
located?

And help would be appreciated.

Say you have a basket view partial that you want to use from other
views. You can do it like this:

render(:partial => ‘basket/view’)

Basically, if the argument has a slash, it’ll treat look for the partial
from the root of the views directory.

Hope that helps,

Steve